mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
*Update to Mangos 6848. Source: Mangos.
--HG-- branch : trunk
This commit is contained in:
@@ -6932,7 +6932,7 @@ bool Unit::Attack(Unit *victim, bool meleeAttack)
|
||||
data << uint32(AI_REACTION_AGGRO); // Aggro sound
|
||||
((WorldObject*)this)->SendMessageToSet(&data, true);
|
||||
|
||||
((Creature*)this)->CallAssistence();
|
||||
((Creature*)this)->CallAssistance();
|
||||
((Creature*)this)->SetCombatStartPosition(GetPositionX(), GetPositionY(), GetPositionZ());
|
||||
}
|
||||
|
||||
@@ -6966,7 +6966,7 @@ bool Unit::AttackStop()
|
||||
if( GetTypeId()==TYPEID_UNIT )
|
||||
{
|
||||
// reset call assistance
|
||||
((Creature*)this)->SetNoCallAssistence(false);
|
||||
((Creature*)this)->SetNoCallAssistance(false);
|
||||
}
|
||||
|
||||
SendAttackStop(victim);
|
||||
|
||||
Reference in New Issue
Block a user