summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 758032ff1b..91eed7b027 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -1607,7 +1607,7 @@ int hit_points(int hit_dice, int min_hp, int rand_hp)
{
int hrolled = 0;
- for (int hroll = 0; hroll < hit_dice; hroll++)
+ for (int hroll = 0; hroll < hit_dice; ++hroll)
{
hrolled += random2(1 + rand_hp);
hrolled += min_hp;