diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-28 21:09:15 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-28 21:09:15 -0600 |
commit | 400edb7e919f99a9c6caa24dc6e21caf91297f01 (patch) | |
tree | 83b06cf768e8fad9efd912eb5214c5f1efc88479 | |
parent | fbaa9dc16130eaccb9b9aed0ccfdc508536e2c78 (diff) | |
download | crawl-ref-400edb7e919f99a9c6caa24dc6e21caf91297f01.tar.gz crawl-ref-400edb7e919f99a9c6caa24dc6e21caf91297f01.zip |
Simplify the multiple chances for unique maps to be placed.
0 to <= 3 is the same as 0 to < 4, so it's actually 4 chances, not 3.
-rw-r--r-- | crawl-ref/source/dungeon.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 9baca8cfa2..c0147fb63b 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -3600,7 +3600,7 @@ static int _place_uniques(int level_number, char level_type) bool map_placed = false; - for (int i = 0; i <= 3; i++) + for (int i = 0; i < 4; i++) { if (map_placed) continue; |