mirror of https://github.com/OpenTTD/OpenTTD
Fix 2bb80d2: really increase the maximum number of GameScript texts to 64k (#7555)
parent
cef9a76c3f
commit
76788a1eb3
|
@ -304,7 +304,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();
|
||||||
|
|
Loading…
Reference in New Issue