From 961af9991a452fe8ae5abe186a93df67d7169239 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 15 Apr 2008 13:17:04 +0000 Subject: 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 --- crawl-ref/source/monplace.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/monplace.cc') 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, -- cgit v1.2.3-54-g00ecf