summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 756b9a5e3b..e68d8e3f9e 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -1559,6 +1559,12 @@ void direction(dist& moves, targeting_type restricts,
wizard_polymorph_monster(m);
break;
+ case CMD_TARGET_WIZARD_DEBUG_MONSTER:
+ if (!you.wizard || !in_bounds(moves.target))
+ break;
+ if (monster_at(moves.target))
+ debug_stethoscope(mgrd(moves.target));
+ break;
#endif
case CMD_TARGET_DESCRIBE:
full_describe_square(moves.target);