Move DbgNoRun to CArg

This commit is contained in:
Kp 2015-12-24 04:01:28 +00:00
parent ee98ef18f3
commit 45a287f44b
3 changed files with 3 additions and 3 deletions

View file

@ -106,6 +106,7 @@ struct CArg : prohibit_void_ptr<CArg>
bool DbgSdlHWSurface;
bool DbgSdlASyncBlit;
#endif
bool DbgNoRun;
uint8_t DbgBpp;
int8_t DbgVerbose;
bool SysNoNiceFPS;
@ -143,7 +144,6 @@ struct Arg : prohibit_void_ptr<Arg>
bool EdiSaveHoardData;
bool EdiMacData; // also used for some read routines in non-editor build
#endif
bool DbgNoRun;
bool DbgRenderStats;
std::string DbgAltTex;
std::string DbgTexMap;

View file

@ -488,7 +488,7 @@ static int main(int argc, char *argv[])
#endif
#endif
if (GameArg.DbgNoRun)
if (CGameArg.DbgNoRun)
return(0);
con_printf( CON_DEBUG, "\nInitializing texture caching system..." );

View file

@ -352,7 +352,7 @@ static void ReadCmdArgs(Inilist &ini, Arglist &Args)
else if (!d_stricmp(p, "-safelog"))
CGameArg.DbgSafelog = true;
else if (!d_stricmp(p, "-norun"))
GameArg.DbgNoRun = 1;
CGameArg.DbgNoRun = true;
else if (!d_stricmp(p, "-renderstats"))
GameArg.DbgRenderStats = 1;
else if (!d_stricmp(p, "-text"))