* Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *
--HG-- branch : trunk
This commit is contained in:
1 parent
81e2f4ab89
commit
2fe9fed7c7
21 files changed
+388
-388
No files matched your search
+4
-4
@@ -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