summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index eceed18495..f42d0fec0b 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -3406,6 +3406,7 @@ void zap_wand( int slot )
{
switch ( wand.sub_type )
{
+ case WAND_DIGGING:
case WAND_TELEPORTATION:
targ_mode = TARG_ANY;
break;
@@ -3415,7 +3416,7 @@ void zap_wand( int slot )
case WAND_INVISIBILITY:
targ_mode = TARG_FRIEND;
break;
-
+
default:
targ_mode = TARG_ENEMY;
break;