summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mgrow.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-24 16:50:41 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-24 16:50:41 +0000
commite63d0ce25374303ed7a08f0993eecb7d509b5eac (patch)
tree2319376d81e0583cc4307d5d116971ecb0a7175d /crawl-ref/source/mgrow.cc
parent9e0e937aa69c91a0b299a8f561564776bf2ab153 (diff)
downloadcrawl-ref-e63d0ce25374303ed7a08f0993eecb7d509b5eac.tar.gz
crawl-ref-e63d0ce25374303ed7a08f0993eecb7d509b5eac.zip
Add whitespace fixes again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3859 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mgrow.cc')
-rw-r--r--crawl-ref/source/mgrow.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mgrow.cc b/crawl-ref/source/mgrow.cc
index aacacfe3d1..3d3a59185d 100644
--- a/crawl-ref/source/mgrow.cc
+++ b/crawl-ref/source/mgrow.cc
@@ -154,7 +154,7 @@ bool monsters::level_up()
int hpboost =
(hit_dice > 3? max_hit_points / 8 : max_hit_points / 4)
+ random2(5);
-
+
// Not less than 3 hp, not more than 25.
hpboost = std::min(std::max(hpboost, 3), 25);
@@ -167,7 +167,7 @@ bool monsters::level_up()
hit_points += hpboost;
hit_points = std::min(hit_points, max_hit_points);
}
-
+
level_up_change();
return (true);