From 400edb7e919f99a9c6caa24dc6e21caf91297f01 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 28 Nov 2009 21:09:15 -0600 Subject: 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. --- crawl-ref/source/dungeon.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/dungeon.cc') 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; -- cgit v1.2.3-54-g00ecf