*Handle creature rotation using movement generator. Please tell me if this breaks any script.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-08-29 17:14:47 -05:00
1 parent 13eda038fd
commit 69c487abe5
8 files changed
+97 -85

No files matched your search

+5
View File
@@ -511,6 +511,11 @@ void MotionMaster::MovePath(uint32 path_id, bool repeatable)
i_owner->GetGUIDLow(), path_id, repeatable ? "YES" : "NO" );
}
void MotionMaster::MoveRotate(uint32 time, RotateDirection direction)
{
Mutate(new RotateMovementGenerator(time, direction), MOTION_SLOT_ACTIVE);
}
void MotionMaster::propagateSpeedChange()
{
/*Impl::container_type::iterator it = Impl::c.begin();