1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 09:59:10 +00:00

Fix 2bb80d2: really increase the maximum number of GameScript texts to 64k (#7555)

This commit is contained in:
glx22
2019-05-01 19:31:30 +02:00
committed by GitHub
parent cef9a76c3f
commit 76788a1eb3

View File

@@ -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();