summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-28 12:13:37 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-28 12:13:37 +0000
commit290486de6d649a47358dc9c01f87d76eaf1945a4 (patch)
treed9fb0ba51d9fa14af4bbfcc2a3387c19a2832c00 /crawl-ref/source/effects.cc
parent8cc59f1dfa29c0a3131a11ba6a47a6fb75c59b2a (diff)
downloadcrawl-ref-290486de6d649a47358dc9c01f87d76eaf1945a4.tar.gz
crawl-ref-290486de6d649a47358dc9c01f87d76eaf1945a4.zip
Add minor cosmetic fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4736 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 6ffc7aa513..bca2ea42b7 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -215,7 +215,7 @@ int torment_monsters(int x, int y, int pow, int caster)
if (mons_res_negative_energy( monster ) >= 3)
return 0;
- monster->hit_points = 1 + (monster->hit_points / 2);
+ monster->hit_points = monster->hit_points / 2 + 1;
simple_monster_message(monster, " convulses!");
return 1;