summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index e2c53a68a7..42df85b2e0 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -7528,7 +7528,7 @@ static void _khufu_drop_tomb(monsters *monster)
monster->lose_energy(EUT_SPELL);
}
-#if DEBUG
+#ifdef DEBUG
# define DEBUG_ENERGY_USE(problem) \
if (monster->speed_increment == old_energy && monster->alive()) \
mprf(MSGCH_DIAGNOSTICS, \
@@ -7649,7 +7649,7 @@ static void _handle_monster_move(monsters *monster)
if (monster->speed_increment >= old_energy)
{
-#if DEBUG
+#ifdef DEBUG
if (monster->speed_increment == old_energy)
{
mprf(MSGCH_DIAGNOSTICS, "'%s' has same energy as last loop",