summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 3546008fa0..2f6e1bf7b3 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2684,13 +2684,13 @@ void change_labyrinth(bool msg)
std::vector<coord_def> targets;
// Try 10 times for an area that is little mapped.
- for (int tries = 10; tries > 0; tries--)
+ for (int tries = 10; tries > 0; --tries)
{
targets.clear();
int x = random_range(LABYRINTH_BORDER, GXM - LABYRINTH_BORDER - size);
int y = random_range(LABYRINTH_BORDER, GYM - LABYRINTH_BORDER - size);
- c1 = coord_def(x,y);
+ c1 = coord_def(x, y);
c2 = coord_def(x + size, y + size);
int count_known = 0;