mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
* Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *
--HG-- branch : trunk
This commit is contained in:
@@ -9544,10 +9544,10 @@ void Unit::CombatStart(Unit* target)
|
||||
{
|
||||
((Creature*)target)->AI()->AttackStart(this);
|
||||
if(((Creature*)target)->GetFormation())
|
||||
{
|
||||
((Creature*)target)->GetFormation()->MemberAttackStart((Creature*)target, this);
|
||||
sLog.outDebug("Unit::CombatStart() calls CreatureGroups::MemberHasAttacked(this);");
|
||||
}
|
||||
{
|
||||
((Creature*)target)->GetFormation()->MemberAttackStart((Creature*)target, this);
|
||||
sLog.outDebug("Unit::CombatStart() calls CreatureGroups::MemberHasAttacked(this);");
|
||||
}
|
||||
}
|
||||
|
||||
SetInCombatWith(target);
|
||||
|
||||
Reference in New Issue
Block a user