forked from mirror/OpenTTD
Codechange: use SPECSTR_..._END over _LAST, to prevent + 1 everywhere
This commit is contained in:
@@ -82,11 +82,11 @@ enum SpecialStrings {
|
||||
SPECSTR_TOWNNAME_TURKISH,
|
||||
SPECSTR_TOWNNAME_ITALIAN,
|
||||
SPECSTR_TOWNNAME_CATALAN,
|
||||
SPECSTR_TOWNNAME_LAST = SPECSTR_TOWNNAME_CATALAN,
|
||||
SPECSTR_TOWNNAME_END = SPECSTR_TOWNNAME_CATALAN + 1,
|
||||
|
||||
/* special strings for company names on the form "TownName transport". */
|
||||
SPECSTR_COMPANY_NAME_START = 0x70EA,
|
||||
SPECSTR_COMPANY_NAME_LAST = SPECSTR_COMPANY_NAME_START + SPECSTR_TOWNNAME_LAST - SPECSTR_TOWNNAME_START,
|
||||
SPECSTR_COMPANY_NAME_END = SPECSTR_COMPANY_NAME_START + SPECSTR_TOWNNAME_END - SPECSTR_TOWNNAME_START,
|
||||
|
||||
SPECSTR_SILLY_NAME = 0x70E5,
|
||||
SPECSTR_ANDCO_NAME = 0x70E6,
|
||||
|
Reference in New Issue
Block a user