diff options
author | XTZGZoReX <none@none> | 2009-04-07 10:51:45 +0200 |
---|---|---|
committer | XTZGZoReX <none@none> | 2009-04-07 10:51:45 +0200 |
commit | 2fe9fed7c71697af06b981e221ea54acb62abb6b (patch) | |
tree | 6ef4315d9fd88d1a18b775c2ed0a56661df76d90 /src/game/RandomMovementGenerator.cpp | |
parent | 81e2f4ab89f48408479019a4dc017e638779f848 (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.cpp | 6 |
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<> |