summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2017-02-26 19:41:30 +0000
committerfrosch <frosch@openttd.org>2017-02-26 19:41:30 +0000
commit2bb80d280cc39684e71be6c4c2db5bf500e10b1c (patch)
tree2e5a9bb6dbd454860fa195da5dc537009a57d572 /src/script
parentfc4c4d080c5d95d92354cefac4a05082fc417c83 (diff)
downloadopenttd-2bb80d280cc39684e71be6c4c2db5bf500e10b1c.tar.xz
(svn r27758) -Change: Increase the maximum number of GameScript texts to 64k, and NewGRF texts to 512k.
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/script_error.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/script/api/script_error.cpp b/src/script/api/script_error.cpp
index b692c74f4..24c491995 100644
--- a/src/script/api/script_error.cpp
+++ b/src/script/api/script_error.cpp
@@ -34,9 +34,8 @@ ScriptError::ScriptErrorMapString ScriptError::error_map_string = ScriptError::S
{
uint index = GetStringIndex(internal_string_id);
switch (GetStringTab(internal_string_id)) {
- case TEXT_TAB_NEWGRF1:
- case TEXT_TAB_NEWGRF2:
- case TEXT_TAB_NEWGRF3:
+ case TEXT_TAB_NEWGRF_START:
+ case TEXT_TAB_GAMESCRIPT_START:
return ERR_NEWGRF_SUPPLIED_ERROR; // NewGRF strings.
case TEXT_TAB_SPECIAL: