* 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-861f7616d084
master
Giel van Schijndel 2008-01-02 21:06:00 +00:00
parent 1f10acfaf5
commit 69ad91c56b
1 changed files with 5 additions and 1 deletions

View File

@ -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))