summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-29 04:45:51 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-29 04:45:51 +0000
commitde335f00ea4b4ccf145dbac9a78d1bb81acb36b3 (patch)
tree1dba541347494fec504883dbae2be6bc04867b24 /crawl-ref/source/player.cc
parent070e8e31875e8f43b5cd14d2385111f3b38cb4ee (diff)
downloadcrawl-ref-de335f00ea4b4ccf145dbac9a78d1bb81acb36b3.tar.gz
crawl-ref-de335f00ea4b4ccf145dbac9a78d1bb81acb36b3.zip
Oops, forgot to remove turning on DEBUG_DIAGNOSTICS.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5323 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 5fc8b1b569..ceda047d63 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -4867,7 +4867,6 @@ void contaminate_player(int change, bool controlled, bool status_only)
// get current contamination level
int old_level = _get_contamination_level();
int new_level = 0;
-#define DEBUG_DIAGNOSTICS 1
#if DEBUG_DIAGNOSTICS
if (change > 0 || (change < 0 && you.magic_contamination))
{
@@ -4875,7 +4874,6 @@ void contaminate_player(int change, bool controlled, bool status_only)
change, change + you.magic_contamination );
}
#endif
-#undef DEBUG_DIAGNOSTICS
// make the change
if (change + you.magic_contamination < 0)