From: Holger Schemel Date: Mon, 9 Oct 2017 19:34:41 +0000 (+0200) Subject: added enabling debug mode on Android when compiled with 'DEBUG' defined X-Git-Tag: 4.0.1.1~36 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=1638f687279338a97d28e2a770fd63e7c789bdf8;p=rocksndiamonds.git added enabling debug mode on Android when compiled with 'DEBUG' defined --- diff --git a/src/libgame/misc.c b/src/libgame/misc.c index ed34319f..bddd38d9 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -1003,6 +1003,12 @@ void GetOptions(int argc, char *argv[], if (*options_left == NULL) /* no options given -- enable verbose mode */ options.verbose = TRUE; #endif +#endif + +#if DEBUG +#if defined(PLATFORM_ANDROID) + options.debug = TRUE; +#endif #endif while (*options_left)