From 03588849963bb625e961f4f256ed5f4fa0ed6cb3 Mon Sep 17 00:00:00 2001 From: Haran Pilpel Date: Fri, 15 Jan 2010 11:08:31 +0200 Subject: Merge Firing and Aim lines, per dcss:messagespam. --- crawl-ref/source/item_use.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/item_use.cc') 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) -- cgit v1.2.3-54-g00ecf