1
0
Fork 0

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

pull/7632/head
glx22 2019-05-01 19:31:30 +02:00 committed by Charles Pigott
parent c0fd2b969b
commit ef6995e8d4
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ GameStrings *LoadTranslations()
/** Compile the language. */ /** Compile the language. */
void GameStrings::Compile() void GameStrings::Compile()
{ {
StringData data(1); StringData data(32);
StringListReader master_reader(data, this->raw_strings[0], true, false); StringListReader master_reader(data, this->raw_strings[0], true, false);
master_reader.ParseFile(); master_reader.ParseFile();
if (_errors != 0) throw std::exception(); if (_errors != 0) throw std::exception();