enabled init time debugging messages when compiled with debug code
authorHolger Schemel <info@artsoft.org>
Sat, 19 Sep 2020 00:07:36 +0000 (02:07 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 19 Sep 2020 00:07:36 +0000 (02:07 +0200)
src/libgame/misc.c

index e499e77a98e5105159412b67e20ca165c03ae8e5..7863159bf22ca434afb0952cc7b4bb0e9962b2e2 100644 (file)
@@ -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)),