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:
Ozkan Sezer 2010-02-20 08:14:30 +00:00
parent 7a25ce8599
commit c31e8931a8

View file

@ -1243,15 +1243,15 @@ void COM_Init (char *basedir)
LittleFloat = FloatSwap;
}
if (COM_CheckParm("-fitz"))
fitzmode = true;
Cvar_RegisterVariable (&registered, NULL);
Cvar_RegisterVariable (&cmdline, NULL);
Cmd_AddCommand ("path", COM_Path_f);
COM_InitFilesystem ();
COM_CheckRegistered ();
if (COM_CheckParm("-fitz"))
fitzmode = true;
#ifdef _DEBUG
Cmd_AddCommand ("test", Test_f); //johnfitz
#endif