(svn r25072) -Codechange: Don't require the custom currency to be the last defined one

This commit is contained in:
planetmaker
2013-03-09 16:16:17 +00:00
parent 54915063f0
commit c22bbf5293
6 changed files with 77 additions and 78 deletions

View File

@@ -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

View File

@@ -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