- 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

View file

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