diff options
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index b15d66e35b..5d7a49a509 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2764,9 +2764,13 @@ void zap_wand(void) const bool dangerous = player_in_a_dangerous_place(); if (alreadyknown) { - if (wand.sub_type == WAND_HASTING - || wand.sub_type == WAND_HEALING - || wand.sub_type == WAND_INVISIBILITY) + if (wand.sub_type == WAND_TELEPORTATION) + { + targ_mode = TARG_ANY; + } + else if (wand.sub_type == WAND_HASTING + || wand.sub_type == WAND_HEALING + || wand.sub_type == WAND_INVISIBILITY) { targ_mode = TARG_FRIEND; } |