aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2009-04-07 12:24:41 +0200
committerXTZGZoReX <none@none>2009-04-07 12:24:41 +0200
commit65200e103984ba76b6c3fc13ad1c2776f19a7ab7 (patch)
tree4c23770b8504ef1a4cf3c1a0d8bbb59a96877fff /src/game/Unit.cpp
parentaf2d4f039bd3dc87e8112adf1d8af0744e6ac11d (diff)
parent2fe9fed7c71697af06b981e221ea54acb62abb6b (diff)
* Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 10694d1de2b..228622ecc2f 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -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);