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.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index b161502515..ac4953d619 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -1390,10 +1390,8 @@ 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_HOSTILE, -1, false, !teleport, true, false,
- NULL, &beh );
+ direction(target, DIR_NONE, TARG_HOSTILE, -1, false, !teleport, true, false,
+ NULL, &beh);
if (beh.m_slot == -1)
{
@@ -2496,7 +2494,6 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus,
thr = *target;
else
{
- message_current_target();
direction(thr, DIR_NONE, TARG_HOSTILE);
if (!thr.isValid)
@@ -4383,7 +4380,6 @@ void zap_wand(int slot)
int tracer_range = (alreadyknown && wand.sub_type != WAND_RANDOM_EFFECTS) ?
_wand_range(type_zapped) : _max_wand_range();
- message_current_target();
direction(zap_wand, DIR_NONE, targ_mode, tracer_range);
if (!zap_wand.isValid)