summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 20:36:15 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 20:36:15 +0000
commit6717f13e25e85f21d0069d396bb40315ed6f4bd6 (patch)
tree9cd59cda33a5121a28d7af04a0ec327447418457 /crawl-ref/source/effects.cc
parent46444e5e558c8cc779c90c7abe0f2f8577d51342 (diff)
downloadcrawl-ref-6717f13e25e85f21d0069d396bb40315ed6f4bd6.tar.gz
crawl-ref-6717f13e25e85f21d0069d396bb40315ed6f4bd6.zip
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8795 c06c8d41-db1a-0410-9941-cceddc491573
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;