diff options
author | peter1138 <peter1138@openttd.org> | 2006-04-20 21:13:08 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-04-20 21:13:08 +0000 |
commit | 5ddf986c8d307374081593dc397ae1822704f70f (patch) | |
tree | 87157df3a3d0081cea0a607cf0b4010524cd4d86 /currency.c | |
parent | 92d8af75dbf7a258f8964924a47dab199c4369e6 (diff) | |
download | openttd-5ddf986c8d307374081593dc397ae1822704f70f.tar.xz |
(svn r4487) - Codechange: replace the custom currency magic number 23 with a define
Diffstat (limited to 'currency.c')
-rw-r--r-- | currency.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/currency.c b/currency.c index bd529f18b..d62aa2d73 100644 --- a/currency.c +++ b/currency.c @@ -84,7 +84,7 @@ uint GetMaskOfAllowedCurrencies(void) if (to_euro == CF_ISEURO && _cur_year < 2000 - MAX_YEAR_BEGIN_REAL) continue; mask |= (1 << i); } - mask |= (1 << 23); // always allow custom currency + mask |= (1 << CUSTOM_CURRENCY_ID); // always allow custom currency return mask; } |