summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/debug.cc')
-rw-r--r--crawl-ref/source/debug.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc
index b17e02d521..4987cd4f97 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -3582,6 +3582,9 @@ void debug_make_trap()
place_specific_trap(you.pos(), trap);
mprf("Created a %s trap, marked it undiscovered", trap_name(trap));
+
+ if (trap == TRAP_SHAFT && !is_valid_shaft_level())
+ mpr("NOTE: Shaft traps aren't valid on this level.");
}
void debug_make_shop()