- fixed: The language ID was set before reading the config.

This essentially rendered saving the language CVAR useless.
This commit is contained in:
Christoph Oelckers 2019-02-19 00:29:22 +01:00 committed by drfrag
parent 31820098a6
commit 0eef6f031f

View file

@ -2070,8 +2070,6 @@ static void D_DoomInit()
gamestate = GS_STARTUP;
SetLanguageIDs ();
const char *v = Args->CheckValue("-rngseed");
if (v)
{
@ -2090,6 +2088,7 @@ static void D_DoomInit()
if (!batchrun) Printf ("M_LoadDefaults: Load system defaults.\n");
M_LoadDefaults (); // load before initing other systems
SetLanguageIDs ();
}
//==========================================================================