diff options
author | rubidium <rubidium@openttd.org> | 2008-05-25 22:36:44 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-25 22:36:44 +0000 |
commit | d289464d69172a1048048aebe29bfd56250fc6fa (patch) | |
tree | 1460114c8e9243ecb6e428c7db15dfa7abc391ed /src/currency.h | |
parent | 8d60206684a3322f7274cf4a7bf612e428558a31 (diff) | |
download | openttd-d289464d69172a1048048aebe29bfd56250fc6fa.tar.xz |
(svn r13255) -Codechange: move _opt to _settings.
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 f2ff11650..e7cac77c2 100644 --- a/src/currency.h +++ b/src/currency.h @@ -39,7 +39,7 @@ extern CurrencySpec _currency_specs[NUM_CURRENCY]; // XXX small hack, but makes the rest of the code a bit nicer to read #define _custom_currency (_currency_specs[CUSTOM_CURRENCY_ID]) -#define _currency ((const CurrencySpec*)&_currency_specs[(_game_mode == GM_MENU) ? _opt_newgame.currency : _opt.currency]) +#define _currency ((const CurrencySpec*)&_currency_specs[(_game_mode == GM_MENU) ? _settings_newgame.gui.currency : _settings.gui.currency]) uint GetMaskOfAllowedCurrencies(); void CheckSwitchToEuro(); |