summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-dgn.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/wiz-dgn.cc')
-rw-r--r--crawl-ref/source/wiz-dgn.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/wiz-dgn.cc b/crawl-ref/source/wiz-dgn.cc
index 69f5e1ec2a..cbecfbdfd5 100644
--- a/crawl-ref/source/wiz-dgn.cc
+++ b/crawl-ref/source/wiz-dgn.cc
@@ -412,6 +412,12 @@ void wizard_list_branches()
}
}
+void wizard_reveal_traps()
+{
+ int traps_revealed = reveal_traps(1000);
+ mprf("Revealed %d traps.", traps_revealed);
+}
+
void wizard_map_level()
{
if (testbits(env.level_flags, LFLAG_NOT_MAPPABLE)