mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[6846] Fixed some more typos. Added post check for assistance conditions into event execute.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
359d4d7dd3
commit
64fd2dc881
5 changed files with 40 additions and 31 deletions
|
|
@ -6908,7 +6908,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());
|
||||
}
|
||||
|
||||
|
|
@ -6942,7 +6942,7 @@ bool Unit::AttackStop()
|
|||
if( GetTypeId()==TYPEID_UNIT )
|
||||
{
|
||||
// reset call assistance
|
||||
((Creature*)this)->SetNoCallAssistence(false);
|
||||
((Creature*)this)->SetNoCallAssistance(false);
|
||||
}
|
||||
|
||||
SendAttackStop(victim);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue