diff options
author | megamage <none@none> | 2009-08-30 11:50:55 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-30 11:50:55 -0500 |
commit | 31324d56ebd3e6a2f089ec896bc87e23bbae3260 (patch) | |
tree | 2e17b1316765ea5cb29bb7e0216ea3bdf9c2974c /src/game/MotionMaster.cpp | |
parent | c5fe21046198613f1fc85a6fbc918b7c4a002866 (diff) |
*Fix the lurker below. Thanks to rat.
--HG--
branch : trunk
Diffstat (limited to 'src/game/MotionMaster.cpp')
-rw-r--r-- | src/game/MotionMaster.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/MotionMaster.cpp b/src/game/MotionMaster.cpp index 81d72f8db6f..d77bd83ede2 100644 --- a/src/game/MotionMaster.cpp +++ b/src/game/MotionMaster.cpp @@ -521,6 +521,9 @@ void MotionMaster::MovePath(uint32 path_id, bool repeatable) void MotionMaster::MoveRotate(uint32 time, RotateDirection direction) { + if(!time) + return; + Mutate(new RotateMovementGenerator(time, direction), MOTION_SLOT_ACTIVE); } |