return 1;
}
- debugmode = commandLineOptions[DEBUG];
-
// !!! FIXME: we could use a Win32 API for this. --ryan.
#ifndef WIN32
chdirToAppPath(argv[0]);
LOGFUNC;
-#ifndef NDEBUG
+#ifdef NDEBUG
try {
#endif
{
return 42;
}
+ if (commandLineOptions[DEBUG]) {
+ debugmode = true;
+ }
+
bool gameDone = false;
bool gameFocused = true;
CleanUp ();
return 0;
-#ifndef NDEBUG
+#ifdef NDEBUG
} catch (const std::exception& error) {
CleanUp();