diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-12-20 20:12:49 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-12-20 20:30:43 +0100 |
commit | 679a19dda682726b0cfe0d13e96aef43987f9f12 (patch) | |
tree | 6c4eadc03fe0b383e67a09977d3fdec408324249 /crawl-ref/source/mon-cast.cc | |
parent | ab23b2d884b7eafc8bd17baa818102f14d165e5e (diff) | |
download | crawl-ref-679a19dda682726b0cfe0d13e96aef43987f9f12.tar.gz crawl-ref-679a19dda682726b0cfe0d13e96aef43987f9f12.zip |
Replace long debug message calls with dprf(), except for cases where a dumb compiler
could call unnecessary functions. For paranoia, I left even any uses of std::string.
Diffstat (limited to 'crawl-ref/source/mon-cast.cc')
-rw-r--r-- | crawl-ref/source/mon-cast.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-cast.cc b/crawl-ref/source/mon-cast.cc index ba5982b8c4..8a6397d99f 100644 --- a/crawl-ref/source/mon-cast.cc +++ b/crawl-ref/source/mon-cast.cc @@ -1371,10 +1371,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)) |