diff options
author | belugas <belugas@openttd.org> | 2007-03-25 23:42:55 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-03-25 23:42:55 +0000 |
commit | 32b33e31218eb19b6775f51e731755d9b0c05a49 (patch) | |
tree | 17be004bb6cdaa3f396df286149703a5d9bde6d2 /src/currency.h | |
parent | f9547cf3b20fdab423e999de6b6adf3d9a7d05a7 (diff) | |
download | openttd-32b33e31218eb19b6775f51e731755d9b0c05a49.tar.xz |
(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)
Diffstat (limited to 'src/currency.h')
-rw-r--r-- | src/currency.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/currency.h b/src/currency.h index a72eab7d0..86b46e713 100644 --- a/src/currency.h +++ b/src/currency.h @@ -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); |