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 Charles Pigott
parent c0fd2b969b
commit ef6995e8d4

View File

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