summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/traps.cc')
-rw-r--r--crawl-ref/source/traps.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc
index c531c55d57..824f6fc4bd 100644
--- a/crawl-ref/source/traps.cc
+++ b/crawl-ref/source/traps.cc
@@ -1343,8 +1343,8 @@ level_id generic_shaft_dest(level_pos lpos, bool known = false)
}
else
{
- // 33.3% for 1, 2, 3
- lid.depth += 1 + random2(3);
+ // 33.3% for 1, 2, 3 from D:3, less before
+ lid.depth += 1 + random2(std::min(lid.depth, 3));
}
if (lid.depth > branch.depth)