summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-29 06:09:25 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-29 06:09:25 +0000
commit4e484905bc378b2a6a86a17b874a740118d62539 (patch)
tree6f69965159fcfa3c6579198ca5e217dd9d16c753 /crawl-ref/source/decks.cc
parentde335f00ea4b4ccf145dbac9a78d1bb81acb36b3 (diff)
downloadcrawl-ref-4e484905bc378b2a6a86a17b874a740118d62539.tar.gz
crawl-ref-4e484905bc378b2a6a86a17b874a740118d62539.zip
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5324 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/decks.cc')
-rw-r--r--crawl-ref/source/decks.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index 4231df4bc9..1fb01e6a6d 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -1530,7 +1530,7 @@ static int _drain_monsters(int x, int y, int pow, int garbage)
monsters& mon = menv[mnstr];
- if (mons_res_negative_energy(&mon) > 0)
+ if (mons_res_negative_energy(&mon))
simple_monster_message(&mon, " is unaffected.");
else
{