(svn r9467) -Fix(FS#703,6108): When resetting the array of currencies, the custom currency was reset too, thus loosing the setting a user could have used for it.(glx)

This commit is contained in:
belugas
2007-03-25 23:42:55 +00:00
parent f9547cf3b2
commit 32b33e3121
3 changed files with 10 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ extern CurrencySpec _currency_specs[NUM_CURRENCY];
uint GetMaskOfAllowedCurrencies();
void CheckSwitchToEuro();
void ResetCurrencies();
void ResetCurrencies(bool preserve_custom = true);
StringID* BuildCurrencyDropdown();
byte GetNewgrfCurrencyIdConverted(byte grfcurr_id);