diff --git a/src/configuration.c b/src/configuration.c index acad7fad7..d2fc58655 100644 --- a/src/configuration.c +++ b/src/configuration.c @@ -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))