src/currency.cpp
changeset 9234 bfc9d27d3d0d
parent 9111 48ce04029fe4
child 9358 2e1e4d2f71dd
equal deleted inserted replaced
9233:b29c7a028999 9234:bfc9d27d3d0d
   152 {
   152 {
   153 	if (_currency_specs[_opt.currency].to_euro != CF_NOEURO &&
   153 	if (_currency_specs[_opt.currency].to_euro != CF_NOEURO &&
   154 			_currency_specs[_opt.currency].to_euro != CF_ISEURO &&
   154 			_currency_specs[_opt.currency].to_euro != CF_ISEURO &&
   155 			_cur_year >= _currency_specs[_opt.currency].to_euro) {
   155 			_cur_year >= _currency_specs[_opt.currency].to_euro) {
   156 		_opt.currency = 2; // this is the index of euro above.
   156 		_opt.currency = 2; // this is the index of euro above.
   157 		AddNewsItem(STR_EURO_INTRODUCE, NM_NORMAL, NF_NONE, NT_ECONOMY, DNC_NONE, 0, 0);
   157 		AddNewsItem(STR_EURO_INTRODUCE, NS_ECONOMY, 0, 0);
   158 	}
   158 	}
   159 }
   159 }
   160 
   160 
   161 /**
   161 /**
   162  * Will fill _currency_specs array with
   162  * Will fill _currency_specs array with