summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-03-30 15:27:41 -0400
committerNeil Moore <neil@s-z.org>2014-03-30 15:28:34 -0400
commit1f4831d4572642bcf6c286a285b2319311a33b2e (patch)
tree2ad653172e3b7c7ec51fed430f659eb4054fd15f /crawl-ref/source/traps.cc
parentdf4b596b3f22cc44484d94ffed0adc5a97e3c040 (diff)
downloadcrawl-ref-1f4831d4572642bcf6c286a285b2319311a33b2e.tar.gz
crawl-ref-1f4831d4572642bcf6c286a285b2319311a33b2e.zip
Clarify a fall-through (gammafunk)
Diffstat (limited to 'crawl-ref/source/traps.cc')
-rw-r--r--crawl-ref/source/traps.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc
index 7f6e38b654..6ac00e14df 100644
--- a/crawl-ref/source/traps.cc
+++ b/crawl-ref/source/traps.cc
@@ -1830,6 +1830,7 @@ int num_traps_for_place()
default:
if (!player_in_connected_branch())
return 0;
+ // Intentional fall-through.
case BRANCH_PANDEMONIUM:
return random2avg(9, 2);
}