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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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