diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-29 06:09:25 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-29 06:09:25 +0000 |
commit | 4e484905bc378b2a6a86a17b874a740118d62539 (patch) | |
tree | 6f69965159fcfa3c6579198ca5e217dd9d16c753 /crawl-ref/source/effects.cc | |
parent | de335f00ea4b4ccf145dbac9a78d1bb81acb36b3 (diff) | |
download | crawl-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/effects.cc')
-rw-r--r-- | crawl-ref/source/effects.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index fae20f6a8a..53156bdcb3 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -263,7 +263,7 @@ int torment_monsters(int x, int y, int pow, int caster) monsters *monster = &menv[mon]; - if (invalid_monster(monster) || mons_res_negative_energy(monster) >= 3) + if (invalid_monster(monster) || mons_res_negative_energy(monster) == 3) return retval; int hploss = monster->hit_points / 2 - 1; |