move W_Startup to I_StartupSystem
this needs to be init as early as possible before anything may call W_CheckNumForName
This commit is contained in:
1 parent
e3d4ca268a
commit
6e2f485b50
3 files changed
+4
-2
No files matched your search
@@ -1722,8 +1722,6 @@ void D_SRB2Main(void)
|
||||
I_OutputMsg("setvbuf didnt work\n");
|
||||
#endif
|
||||
|
||||
W_Startup();
|
||||
|
||||
// get parameters from a response file (eg: srb2 @parms.txt)
|
||||
M_FindResponseFile();
|
||||
|
||||
|
||||
@@ -1402,6 +1402,7 @@ static void I_Fork(void)
|
||||
|
||||
INT32 I_StartupSystem(void)
|
||||
{
|
||||
W_Startup();
|
||||
I_StartupConsole();
|
||||
#ifdef NEWSIGNALHANDLER
|
||||
// This is useful when debugging. It lets GDB attach to
|
||||
|
||||
@@ -1933,6 +1933,9 @@ INT32 I_StartupSystem(void)
|
||||
SDL_version SDLlinked;
|
||||
SDL_VERSION(&SDLcompiled)
|
||||
SDL_GetVersion(&SDLlinked);
|
||||
|
||||
W_Startup();
|
||||
|
||||
I_StartupConsole();
|
||||
#ifdef NEWSIGNALHANDLER
|
||||
// This is useful when debugging. It lets GDB attach to
|
||||
|
||||
Reference in new issue
Block a user