mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-10 09:41:09 +00:00
common.c (COM_Init): move the -fitz command line switch check before the
filesystem initialization. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@73 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
7a25ce8599
commit
c31e8931a8
1 changed files with 3 additions and 3 deletions
|
@ -1243,15 +1243,15 @@ void COM_Init (char *basedir)
|
||||||
LittleFloat = FloatSwap;
|
LittleFloat = FloatSwap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (COM_CheckParm("-fitz"))
|
||||||
|
fitzmode = true;
|
||||||
|
|
||||||
Cvar_RegisterVariable (®istered, NULL);
|
Cvar_RegisterVariable (®istered, NULL);
|
||||||
Cvar_RegisterVariable (&cmdline, NULL);
|
Cvar_RegisterVariable (&cmdline, NULL);
|
||||||
Cmd_AddCommand ("path", COM_Path_f);
|
Cmd_AddCommand ("path", COM_Path_f);
|
||||||
COM_InitFilesystem ();
|
COM_InitFilesystem ();
|
||||||
COM_CheckRegistered ();
|
COM_CheckRegistered ();
|
||||||
|
|
||||||
if (COM_CheckParm("-fitz"))
|
|
||||||
fitzmode = true;
|
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
Cmd_AddCommand ("test", Test_f); //johnfitz
|
Cmd_AddCommand ("test", Test_f); //johnfitz
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue