summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 72cf0a8836..e730a7a7a8 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -706,7 +706,7 @@ void drain_life(int pow)
}
}
- hp_gain = hp_gain / 2;
+ hp_gain /= 2;
hp_gain = std::min(pow * 2, hp_gain);