summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-17 18:19:51 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-17 18:19:51 +0000
commit175a84aa52f8c90e2b946b92fd17b4b367b6c254 (patch)
treea07bbb46084b7ce147c4482bd7b720ac6d02c5e2 /crawl-ref/source
parent7879563f94f6b59d9d0edb19677eb2f99df52bd6 (diff)
downloadcrawl-ref-175a84aa52f8c90e2b946b92fd17b4b367b6c254.tar.gz
crawl-ref-175a84aa52f8c90e2b946b92fd17b4b367b6c254.zip
Add yet more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10696 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/ghost.cc4
-rw-r--r--crawl-ref/source/mon-util.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/ghost.cc b/crawl-ref/source/ghost.cc
index 01bcadc639..970306a5b6 100644
--- a/crawl-ref/source/ghost.cc
+++ b/crawl-ref/source/ghost.cc
@@ -160,7 +160,7 @@ void ghost_demon::init_random_demon()
resists.fire = random_range(1, 2);
else
{
- resists.fire = 0; // res_fire
+ resists.fire = 0; // res_fire
if (one_chance_in(10))
resists.fire = -1;
@@ -181,7 +181,7 @@ void ghost_demon::init_random_demon()
resists.elec = one_chance_in(3);
// HTH damage:
- damage = 20 + roll_dice( 2, 20 );
+ damage = 20 + roll_dice(2, 20);
// special attack type (uses weapon brand code):
brand = SPWPN_NORMAL;
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;