summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-13 11:27:24 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-13 11:27:24 -0500
commit15a1314c903413b52f65797edccc244ce7dec8da (patch)
tree14a8b4d910c597e2426d4b24f3f51fc54f7b0cc4 /crawl-ref/source/spells3.cc
parent383ade6bdfae63b50deaae45d884c2037df1da72 (diff)
downloadcrawl-ref-15a1314c903413b52f65797edccc244ce7dec8da.tar.gz
crawl-ref-15a1314c903413b52f65797edccc244ce7dec8da.zip
Add minor cosmetic fixes.
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 0e552a2355..2965ace0a3 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -686,9 +686,9 @@ bool receive_corpses(int pow, coord_def where)
// Find an appropriate monster corpse.
monster_type mon_type = MONS_PROGRAM_BUG;
int adjusted_power = 0;
- for (int i = 0; i < 200 && !mons_class_can_be_zombified(mon_type); i++)
+ for (int i = 0; i < 200 && !mons_class_can_be_zombified(mon_type); ++i)
{
- adjusted_power = std::min(pow/4,random2(random2(pow)));
+ adjusted_power = std::min(pow / 4, random2(random2(pow)));
mon_type = pick_local_zombifiable_monster_type(adjusted_power);
}