summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorglx22 <glx22@users.noreply.github.com>2019-05-01 19:31:30 +0200
committerGitHub <noreply@github.com>2019-05-01 19:31:30 +0200
commit76788a1eb39366323abc07161684ba94953987c6 (patch)
treee29dbd303047a927998e1952c5e3f2f6b006ddf9 /src
parentcef9a76c3ffaaf42bd9b85ff41afb0d9d45d05bc (diff)
downloadopenttd-76788a1eb39366323abc07161684ba94953987c6.tar.xz
Fix 2bb80d2: really increase the maximum number of GameScript texts to 64k (#7555)
Diffstat (limited to 'src')
-rw-r--r--src/game/game_text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/game_text.cpp b/src/game/game_text.cpp
index bde2a5a69..412f2804f 100644
--- a/src/game/game_text.cpp
+++ b/src/game/game_text.cpp
@@ -304,7 +304,7 @@ GameStrings *LoadTranslations()
/** Compile the language. */
void GameStrings::Compile()
{
- StringData data(1);
+ StringData data(32);
StringListReader master_reader(data, *this->raw_strings[0], true, false);
master_reader.ParseFile();
if (_errors != 0) throw std::exception();