mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- Replicate GZDoom fix on POSIX systems to ensure GameConfig
global is initialised before trying to load the ENGINERES
file.
* Same fix as 0f0b4b7620
.
This commit is contained in:
parent
e9fd96fd20
commit
8fb4549998
1 changed files with 2 additions and 1 deletions
|
@ -957,6 +957,8 @@ int RunGame()
|
|||
{
|
||||
GameStartupInfo.FgColor = 0xffffff;
|
||||
|
||||
G_LoadConfig();
|
||||
|
||||
auto wad = BaseFileSearch(ENGINERES_FILE, NULL, true, GameConfig);
|
||||
if (wad == NULL)
|
||||
{
|
||||
|
@ -979,7 +981,6 @@ int RunGame()
|
|||
}
|
||||
I_DetectOS();
|
||||
userConfig.ProcessOptions();
|
||||
G_LoadConfig();
|
||||
GetGames();
|
||||
auto usedgroups = SetupGame();
|
||||
|
||||
|
|
Loading…
Reference in a new issue