aboutsummaryrefslogtreecommitdiff
path: root/src/game/RandomMovementGenerator.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/RandomMovementGenerator.cpp
parentaf2d4f039bd3dc87e8112adf1d8af0744e6ac11d (diff)
parent2fe9fed7c71697af06b981e221ea54acb62abb6b (diff)
* Merge.
--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<>