From 76788a1eb39366323abc07161684ba94953987c6 Mon Sep 17 00:00:00 2001 From: glx22 Date: Wed, 1 May 2019 19:31:30 +0200 Subject: [PATCH] Fix 2bb80d2: really increase the maximum number of GameScript texts to 64k (#7555) --- src/game/game_text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/game_text.cpp b/src/game/game_text.cpp index bde2a5a695..412f2804f9 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();