aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2009-04-07 10:51:45 +0200
committerXTZGZoReX <none@none>2009-04-07 10:51:45 +0200
commit2fe9fed7c71697af06b981e221ea54acb62abb6b (patch)
tree6ef4315d9fd88d1a18b775c2ed0a56661df76d90 /src/game/Unit.cpp
parent81e2f4ab89f48408479019a4dc017e638779f848 (diff)
* Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *
--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);