diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-26 04:49:42 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-26 04:49:42 +0000 |
commit | 59088a6aff05b2afec1d7bd6c51f3f99cd819af8 (patch) | |
tree | 13c34f4fa48d676f9f7221f2f87674e4d2aba0f5 /crawl-ref/source/monplace.cc | |
parent | 9629076ee9f0b7a88048c0eb6d979c5d86a7a3d2 (diff) | |
download | crawl-ref-59088a6aff05b2afec1d7bd6c51f3f99cd819af8.tar.gz crawl-ref-59088a6aff05b2afec1d7bd6c51f3f99cd819af8.zip |
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7630 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r-- | crawl-ref/source/monplace.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc index 49769d06e4..e92d9434da 100644 --- a/crawl-ref/source/monplace.cc +++ b/crawl-ref/source/monplace.cc @@ -837,9 +837,9 @@ static int _place_monster_aux( const mgen_data &mg, } else { - int i = 0; + int i; // We'll try 1000 times for a good spot. - for ( ; i < 1000; i++) + for (i = 0; i < 1000; ++i) { fpos = mg.pos + coord_def( random_range(-3, 3), random_range(-3, 3) ); |