aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-31 16:24:19 -0500
committermegamage <none@none>2009-05-31 16:24:19 -0500
commit067cbec40d33b865b30299368534ae0cd673f336 (patch)
tree32df305081bddb28a8f24ed9997454adc3462b80 /src/game/Player.cpp
parent552e08b3f0efc19f3aa3504badccffbb05a983bd (diff)
[7922] Implement param2 for ACTION_T_COMBAT_MOVEMENT for allow control start/stop melee combat state for creature at start/stop movement in combat. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index d05e7f2cd80..48386d8416f 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -18389,7 +18389,7 @@ void Player::SendInitialVisiblePackets(Unit* target)
if(target->GetMotionMaster()->GetCurrentMovementGeneratorType() != IDLE_MOTION_TYPE)
target->SendMonsterMoveWithSpeedToCurrentDestination(this);
if(target->hasUnitState(UNIT_STAT_MELEE_ATTACKING) && target->getVictim())
- target->SendAttackStart(target->getVictim());
+ target->SendMeleeAttackStart(target->getVictim());
}
}