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.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index d8a59d1aa1..2bb692af9c 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -1456,9 +1456,11 @@ static bool _fire_choose_item_and_target(int& slot, dist& target,
}
beh.message_ammo_prompt();
+
// XXX: This stuff should be done by direction()!
message_current_target();
- direction( target, DIR_NONE, TARG_ENEMY, -1, false, !teleport, NULL, &beh );
+ direction( target, DIR_NONE, TARG_ENEMY, -1, false, !teleport, true,
+ NULL, &beh );
if (beh.m_slot == -1)
{