summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-03-09 16:16:17 +0000
committerplanetmaker <planetmaker@openttd.org>2013-03-09 16:16:17 +0000
commitc22bbf5293d5727a061ed9839d8ab397710b81d0 (patch)
tree4cecdc676abac4ad4e40c898a73e18c7f479c94c /src/table
parent54915063f041d552f2eb86e39bd1637cacbaa32b (diff)
downloadopenttd-c22bbf5293d5727a061ed9839d8ab397710b81d0.tar.xz
(svn r25072) -Codechange: Don't require the custom currency to be the last defined one
Diffstat (limited to 'src/table')
-rw-r--r--src/table/gameopt_settings.ini2
-rw-r--r--src/table/settings.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/table/gameopt_settings.ini b/src/table/gameopt_settings.ini
index 8f7861942..42f906d32 100644
--- a/src/table/gameopt_settings.ini
+++ b/src/table/gameopt_settings.ini
@@ -108,7 +108,7 @@ var = locale.currency
type = SLE_UINT8
flags = SLF_NO_NETWORK_SYNC
def = 0
-max = CUSTOM_CURRENCY_ID
+max = CURRENCY_END - 1
full = _locale_currencies
cat = SC_BASIC
diff --git a/src/table/settings.ini b/src/table/settings.ini
index b39d29a54..1b26db9a0 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -2185,7 +2185,7 @@ type = SLE_UINT8
from = 97
flags = SLF_NO_NETWORK_SYNC
def = 0
-max = CUSTOM_CURRENCY_ID
+max = CURRENCY_END - 1
full = _locale_currencies
proc = RedrawScreen
cat = SC_BASIC