From c4ad7d3ee039e3fa02604c1358ebb82ac7ed5249 Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 1 May 2008 14:07:58 +0000 Subject: Add more minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4790 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/ouch.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/ouch.cc') diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index 94f5325219..be00925884 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -616,7 +616,7 @@ void drain_exp(bool announce_full) { int protection = player_prot_life(); - if (protection >= 3) + if (protection == 3) { if ( announce_full ) mpr("You fully resist."); @@ -626,7 +626,7 @@ void drain_exp(bool announce_full) if (you.experience == 0) { ouch(-9999, 0, KILLED_BY_DRAINING); - // Return in case death was escaped via wizard mode; + // Return in case death was escaped via wizard mode. return; } -- cgit v1.2.3-54-g00ecf