Skip to content

Commit

Permalink
- fixed erroneous override of default language strings
Browse files Browse the repository at this point in the history
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
  • Loading branch information
alexey-lysiuk committed Jan 6, 2020
1 parent a83fff0 commit 83f46c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gamedata/stringtable.cpp
Expand Up @@ -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
{
Expand Down

0 comments on commit 83f46c4

Please sign in to comment.