]> granicus.if.org Git - nethack/commitdiff
Enable migrating mons debugging
authorPasi Kallinen <paxed@alt.org>
Wed, 27 Jul 2022 09:21:07 +0000 (12:21 +0300)
committerPasi Kallinen <paxed@alt.org>
Wed, 27 Jul 2022 09:21:07 +0000 (12:21 +0300)
include/config.h

index 9ed4e3273fcb8b70c8f08a05143f6f7db8e37bef..8e5858c803d66e373f96a50b7cf7a341c8c4bfe6 100644 (file)
@@ -576,8 +576,10 @@ typedef unsigned char uchar;
 
 /* #define WINCHAIN */              /* stacked window systems */
 
-/* #define DEBUG_MIGRATING_MONS */  /* add a wizard-mode command to help debug
-                                       migrating monsters */
+#if defined(DEBUG) && !defined(DEBUG_MIGRATING_MONS)
+#define DEBUG_MIGRATING_MONS  /* add a wizard-mode command to help debug
+                                 migrating monsters */
+#endif
 
 /* SCORE_ON_BOTL is neither experimental nor inadequately tested,
    but doesn't seem to fit in any other section... */