diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-15 13:17:04 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-15 13:17:04 +0000 |
commit | 961af9991a452fe8ae5abe186a93df67d7169239 (patch) | |
tree | ac77ca2c7664faa6cfe17f9d342bd6afe32ee35f /crawl-ref/source/monplace.cc | |
parent | 83a88e5198b9b3c71123164d315d0fd94c4101be (diff) | |
download | crawl-ref-961af9991a452fe8ae5abe186a93df67d7169239.tar.gz crawl-ref-961af9991a452fe8ae5abe186a93df67d7169239.zip |
Another one of those pesky spacing changes.
One of these days Crawl *will* win the Cleanest Code Championship,
just you wait... :p
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4242 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r-- | crawl-ref/source/monplace.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc index 01611ef586..756417bdde 100644 --- a/crawl-ref/source/monplace.cc +++ b/crawl-ref/source/monplace.cc @@ -378,7 +378,7 @@ static int resolve_monster_type(int mon_type, proximity_type proximity, { int tries = 0; int pval = 0; - while(++tries <= 320) + while (++tries <= 320) { px = 5 + random2(GXM - 10); py = 5 + random2(GYM - 10); @@ -517,7 +517,7 @@ bool place_monster(int &id, int mon_type, int power, beh_type behaviour, // c) in the 'correct' proximity to the player dungeon_feature_type grid_wanted = habitat2grid( mons_habitat_by_type(mon_type) ); - while(true) + while (true) { // handled above, won't change anymore if (proximity == PROX_NEAR_STAIRS && tries) @@ -676,7 +676,7 @@ bool place_monster(int &id, int mon_type, int power, beh_type behaviour, menv[id].flags |= MF_BAND_MEMBER; // (5) for each band monster, loop call to place_monster_aux(). - for(i = 1; i < band_size; i++) + for (i = 1; i < band_size; i++) { const int band_id = place_monster_aux( band_monsters[i], behaviour, target, px, py, |