- fixed erroneous override of default language strings

If the default identifier is present in LANGUAGE lump, following entries were treated as default as well

https://forum.zdoom.org/viewtopic.php?t=66873
This commit is contained in:
alexey.lysiuk 2020-01-06 10:22:42 +02:00
parent a83fff0eb4
commit 83f46c4b2f
1 changed files with 1 additions and 0 deletions

View File

@ -287,6 +287,7 @@ void FStringTable::LoadLanguage (int lumpnum, const TArray<uint8_t> &buffer)
if (sc.Compare ("["))
{ // Process language identifiers
activeMaps.Clear();
hasDefaultEntry = false;
sc.MustGetString ();
do
{