aboutsummaryrefslogtreecommitdiff
path: root/src/game/RandomMovementGenerator.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/RandomMovementGenerator.cpp
parent81e2f4ab89f48408479019a4dc017e638779f848 (diff)
* Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *
--HG-- branch : trunk
Diffstat (limited to 'src/game/RandomMovementGenerator.cpp')
-rw-r--r--src/game/RandomMovementGenerator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/RandomMovementGenerator.cpp b/src/game/RandomMovementGenerator.cpp
index 763e7f12c5a..0081c702abd 100644
--- a/src/game/RandomMovementGenerator.cpp
+++ b/src/game/RandomMovementGenerator.cpp
@@ -117,10 +117,10 @@ RandomMovementGenerator<Creature>::_setRandomLocation(Creature &creature)
}
//Call for creature group update
- if(creature.GetFormation() && creature.GetFormation()->getLeader() == &creature)
- {
+ if(creature.GetFormation() && creature.GetFormation()->getLeader() == &creature)
+ {
creature.GetFormation()->LeaderMoveTo(nx, ny, nz);
- }
+ }
}
template<>