From ef6995e8d4f7c56cd58de0276265c9b35a8d2759 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 a32e5b41d7..c71483b391 100644 --- a/src/game/game_text.cpp +++ b/src/game/game_text.cpp @@ -308,7 +308,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();