* Enable debugmode (allows cheating) by default on DEBUG builds
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3316 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
1f10acfaf5
commit
69ad91c56b
|
@ -111,8 +111,12 @@ BOOL loadConfig(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
#ifdef DEBUG
|
||||
bAllowDebugMode = TRUE;
|
||||
#else
|
||||
bAllowDebugMode = FALSE;
|
||||
setWarzoneKeyNumeric("debugmode", FALSE);
|
||||
#endif
|
||||
setWarzoneKeyNumeric("debugmode", bAllowDebugMode);
|
||||
}
|
||||
|
||||
if (getWarzoneKeyNumeric("framerate", &val))
|
||||
|
|
Loading…
Reference in New Issue