From 679a19dda682726b0cfe0d13e96aef43987f9f12 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Sun, 20 Dec 2009 20:12:49 +0100 Subject: 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. --- crawl-ref/source/monster.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crawl-ref/source/monster.cc') diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc index b5d6716eb5..b71b2a4558 100644 --- a/crawl-ref/source/monster.cc +++ b/crawl-ref/source/monster.cc @@ -5035,9 +5035,7 @@ void monsters::apply_enchantment(const mon_enchant &me) // Don't clean up the monster in order to credit properly. hurt(NULL, dam, BEAM_NAPALM, false); -#if DEBUG_DIAGNOSTICS - mprf( MSGCH_DIAGNOSTICS, "sticky flame damage: %d", dam ); -#endif + dprf("sticky flame damage: %d", dam); // Credit the kill. if (hit_points < 1) -- cgit v1.2.3-54-g00ecf