summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-cast.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-20 20:32:57 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-20 20:34:32 +0100
commit397c47295f983fec61c5fdd349a90893857a9991 (patch)
treec64f9b3469c86a87ef08c1d32c742b7bcbfba589 /crawl-ref/source/mon-cast.cc
parent76442a6a837472a0909ad49e6a118184b90777d4 (diff)
parent679a19dda682726b0cfe0d13e96aef43987f9f12 (diff)
downloadcrawl-ref-397c47295f983fec61c5fdd349a90893857a9991.tar.gz
crawl-ref-397c47295f983fec61c5fdd349a90893857a9991.zip
Use dprf().
Diffstat (limited to 'crawl-ref/source/mon-cast.cc')
-rw-r--r--crawl-ref/source/mon-cast.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-cast.cc b/crawl-ref/source/mon-cast.cc
index 25864af558..4f86ede2f8 100644
--- a/crawl-ref/source/mon-cast.cc
+++ b/crawl-ref/source/mon-cast.cc
@@ -1377,10 +1377,7 @@ static int _monster_abjure_square(const coord_def &pos,
shielded = true;
}
-#ifdef DEBUG_DIAGNOSTICS
- mprf(MSGCH_DIAGNOSTICS, "Abj: dur: %d, pow: %d, ndur: %d",
- duration, pow, duration - pow);
-#endif
+ dprf("Abj: dur: %d, pow: %d, ndur: %d", duration, pow, duration - pow);
mon_enchant abj = target->get_ench(ENCH_ABJ);
if (!target->lose_ench_duration(abj, pow))