*Fix the lurker below. Thanks to rat.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-30 11:50:55 -05:00
parent c5fe210461
commit 31324d56eb
5 changed files with 15 additions and 8 deletions

View File

@@ -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);
}