From 0d3134d825fd01abb38859ceb5ca103236e64874 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 19 Jun 2020 10:53:28 +0300 Subject: [PATCH] - assigned endoom lump name after mapinfo is parsed https://forum.zdoom.org/viewtopic.php?t=69032 --- src/d_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index 54f6d026d..65575b6ae 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -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) @@ -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