diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-26 15:38:40 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-26 15:38:40 +0000 |
commit | 17fb80af7acbed035921b894f2b2712f93afd670 (patch) | |
tree | 272ce229e35e326f0ad2ed492bfd5e154235ed5b /crawl-ref/source/view.cc | |
parent | 416bb292eb8bab5f0bb094a369921703663e5bb6 (diff) | |
download | crawl-ref-17fb80af7acbed035921b894f2b2712f93afd670.tar.gz crawl-ref-17fb80af7acbed035921b894f2b2712f93afd670.zip |
Simplify monster_random_space().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8790 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r-- | crawl-ref/source/view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index b0866f06a1..1755de2a30 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -3120,7 +3120,7 @@ static int _find_feature(int feature, int curs_x, int curs_y, int matchcount = 0; // Find the first occurrence of feature 'feature', spiralling around (x,y) - int maxradius = GXM > GYM? GXM : GYM; + int maxradius = GXM > GYM ? GXM : GYM; for (int radius = 1; radius < maxradius; ++radius) for (int axis = -2; axis < 2; ++axis) { |