From 2fe9fed7c71697af06b981e221ea54acb62abb6b Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Tue, 7 Apr 2009 10:51:45 +0200 Subject: * Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" * --HG-- branch : trunk --- src/game/RandomMovementGenerator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/RandomMovementGenerator.cpp') 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::_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<> -- cgit v1.2.3