diff options
Diffstat (limited to 'src/game/MotionMaster.cpp')
-rw-r--r-- | src/game/MotionMaster.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/MotionMaster.cpp b/src/game/MotionMaster.cpp index e32fffaa8ac..626440f8d1e 100644 --- a/src/game/MotionMaster.cpp +++ b/src/game/MotionMaster.cpp @@ -530,11 +530,11 @@ void MotionMaster::MoveRotate(uint32 time, RotateDirection direction) void MotionMaster::propagateSpeedChange() { /*Impl::container_type::iterator it = Impl::c.begin(); - for ( ;it != end(); ++it) + for (; it != end(); ++it) { (*it)->unitSpeedChanged(); }*/ - for(int i = 0; i <= i_top; ++i) + for (int i = 0; i <= i_top; ++i) { if(Impl[i]) Impl[i]->unitSpeedChanged(); @@ -585,7 +585,7 @@ bool MotionMaster::GetDestination(float &x, float &y, float &z) { if(empty()) return false; - + return top()->GetDestination(x,y,z); } |