diff options
Diffstat (limited to 'src/currency.cpp')
-rw-r--r-- | src/currency.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/currency.cpp b/src/currency.cpp index 036f827bd..c1bcc9909 100644 --- a/src/currency.cpp +++ b/src/currency.cpp @@ -173,7 +173,7 @@ void ResetCurrencies(void) StringID* BuildCurrencyDropdown(void) { /* Allow room for all currencies, plus a terminator entry */ - static StringID names[CUSTOM_CURRENCY_ID]; + static StringID names[NUM_CURRENCY + 1]; uint i; /* Add each name */ |