diff options
author | megamage <none@none> | 2009-01-17 13:29:26 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-17 13:29:26 -0600 |
commit | 88fd7455323b0e58ea2b808510d8c7e5aa1cd599 (patch) | |
tree | 51e263ecf2ef47c64a8f7664598c7d8ba5007095 /src/game/MotionMaster.cpp | |
parent | f414ab1686c300787e3dfb0c397227062b8feea6 (diff) |
*Fix some bugs about movement.
--HG--
branch : trunk
Diffstat (limited to 'src/game/MotionMaster.cpp')
-rw-r--r-- | src/game/MotionMaster.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/MotionMaster.cpp b/src/game/MotionMaster.cpp index 551383d985a..5d9059b468d 100644 --- a/src/game/MotionMaster.cpp +++ b/src/game/MotionMaster.cpp @@ -392,7 +392,10 @@ void MotionMaster::propagateSpeedChange() (*it)->unitSpeedChanged(); }*/ for(int i = 0; i <= i_top; ++i) - Impl[i]->unitSpeedChanged(); + { + if(Impl[i]) + Impl[i]->unitSpeedChanged(); + } } MovementGeneratorType MotionMaster::GetCurrentMovementGeneratorType() const |