diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-01 14:07:58 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-01 14:07:58 +0000 |
commit | c4ad7d3ee039e3fa02604c1358ebb82ac7ed5249 (patch) | |
tree | 936a7b5f35a36d8c143a55ab1fd7dd60781c3552 /crawl-ref/source/ouch.cc | |
parent | 1580408b99a368ac21bf0719491ec62da39cbe0d (diff) | |
download | crawl-ref-c4ad7d3ee039e3fa02604c1358ebb82ac7ed5249.tar.gz crawl-ref-c4ad7d3ee039e3fa02604c1358ebb82ac7ed5249.zip |
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4790 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r-- | crawl-ref/source/ouch.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |