(svn r2994) Another small hack regarding currencies: add a #define to emulate a variable, that holds the current currency; again this should increase readability
This commit is contained in:
@@ -89,12 +89,6 @@ uint GetMaskOfAllowedCurrencies(void)
|
||||
}
|
||||
|
||||
|
||||
uint GetCurrentCurrencyRate(void)
|
||||
{
|
||||
return _currency_specs[_opt_ptr->currency].rate;
|
||||
}
|
||||
|
||||
|
||||
void CheckSwitchToEuro(void)
|
||||
{
|
||||
if (_currency_specs[_opt.currency].to_euro != CF_NOEURO &&
|
||||
|
||||
Reference in New Issue
Block a user