From bf7c206ba9e02368e1c23b47ca06ea7be9d70d29 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 15 Apr 2008 09:01:40 +0000 Subject: Fix a wizmode bug where placing an altar to your current god would attempt you to "re-join" your own religion and subsequently crash. Also, reintroduce debugging check for blood potion descriptions that I'd accidentally removed, and rename static methods in religion.cc. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4238 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/describe.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/describe.cc') diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 9f9d44e634..4dd81fc3cf 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -1646,6 +1646,7 @@ std::string get_item_description( const item_def &item, bool verbose, break; case OBJ_POTIONS: +#ifdef DEBUG_BLOOD_POTIONS // list content of timer vector for blood potions if (item.sub_type == POT_BLOOD || item.sub_type == POT_BLOOD_COAGULATED) @@ -1662,6 +1663,7 @@ std::string get_item_description( const item_def &item, bool verbose, for (int i = 0; i < timer.size(); i++) description << (timer[i].get_long()) << " "; } +#endif break; case OBJ_SCROLLS: -- cgit v1.2.3-54-g00ecf