move G_ReloadDefaults() after DEH processing

This makes sure the deh_set_blood_color variable can be properly
parsed in D_SetBloodColor().
This commit is contained in:
Fabian Greffrath 2022-09-09 07:25:32 +02:00
parent a7f35f0d84
commit c5bcf935f0

View File

@ -2362,10 +2362,6 @@ void D_DoomMain(void)
// Check for wolf levels
haswolflevels = (W_CheckNumForName("map31") >= 0);
// Moved after WAD initialization because we are checking the COMPLVL lump
G_ReloadDefaults(); // killough 3/4/98: set defaults just loaded.
// jff 3/24/98 this sets startskill if it was -1
putchar('\n'); // killough 3/6/98: add a newline, by popular demand :)
// process deh in IWAD
@ -2387,6 +2383,10 @@ void D_DoomMain(void)
PostProcessDeh();
// Moved after WAD initialization because we are checking the COMPLVL lump
G_ReloadDefaults(); // killough 3/4/98: set defaults just loaded.
// jff 3/24/98 this sets startskill if it was -1
// Check for -file in shareware
if (modifiedgame)
{