From: Holger Schemel Date: Sat, 19 Sep 2020 00:07:36 +0000 (+0200) Subject: enabled init time debugging messages when compiled with debug code X-Git-Tag: 4.2.0.3~19 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=035b753f2a4929225a7db8a9d49d46b54457cd81;p=rocksndiamonds.git enabled init time debugging messages when compiled with debug code --- diff --git a/src/libgame/misc.c b/src/libgame/misc.c index e499e77a..7863159b 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -3785,7 +3785,7 @@ void NotifyUserAboutErrorFile(void) #if DEBUG -#define DEBUG_PRINT_INIT_TIMESTAMPS FALSE +#define DEBUG_PRINT_INIT_TIMESTAMPS TRUE #define DEBUG_PRINT_INIT_TIMESTAMPS_DEPTH 10 #define DEBUG_NUM_TIMESTAMPS 10 @@ -3853,7 +3853,7 @@ void debug_print_timestamp(int counter_nr, char *message) counter[counter_nr][1] = counter[counter_nr][0]; if (message) - Debug("time", "%s%s%s %.3f %s", + Debug("time:init", "%s%s%s %.3f %s", debug_print_timestamp_get_padding(counter_nr * indent_size), message, debug_print_timestamp_get_padding(padding_size - strlen(message)),