Skip to content

Commit

Permalink
- assigned endoom lump name after mapinfo is parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Jun 19, 2020
1 parent f2ddbee commit 0d3134d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d_main.cpp
Expand Up @@ -3151,7 +3151,6 @@ static int D_DoomMain_Internal (void)
gameinfo.nokeyboardcheats = iwad_info->nokeyboardcheats;
gameinfo.ConfigName = iwad_info->Configname;
lastIWAD = iwad;
endoomName = gameinfo.Endoom;


if ((gameinfo.flags & GI_SHAREWARE) && pwads.Size() > 0)
Expand Down Expand Up @@ -3333,6 +3332,7 @@ static int D_DoomMain_Internal (void)
if (!batchrun) Printf ("G_ParseMapInfo: Load map definitions.\n");
G_ParseMapInfo (iwad_info->MapInfo);
MessageBoxClass = gameinfo.MessageBoxClass;
endoomName = gameinfo.Endoom;
ReadStatistics();

// MUSINFO must be parsed after MAPINFO
Expand Down

0 comments on commit 0d3134d

Please sign in to comment.