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/makeitem.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crawl-ref/source/makeitem.cc') diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 1e8f2a6147..3d8421ade8 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -884,9 +884,7 @@ static weapon_type _determine_weapon_subtype(int item_level) static bool _try_make_item_special_unrand(item_def& item, int force_type, int item_level) { -#ifdef DEBUG_DIAGNOSTICS - mprf(MSGCH_DIAGNOSTICS, "Making special unrand artefact."); -#endif + dprf("Making special unrand artefact."); bool abyss = item_level == level_id(LEVEL_ABYSS).absdepth(); int idx = find_okay_unrandart(item.base_type, force_type, -- cgit v1.2.3-54-g00ecf