Core/Movement: fixed waypoint movement commits up to 2ce9a0a094a3d86a86a9323693c93ed6a2bbcaaf

This commit is contained in:
Ovahlord committed 2018-08-02 16:20:02 +02:00
1 parent 075a79dac1
commit 78e0328356
14 files changed
+150 -75

No files matched your search

+2 -2
View File
@@ -2122,9 +2122,9 @@ public:
float x, y, z;
motionMaster->GetDestination(x, y, z);
for (uint8 i = 0; i < MAX_MOTION_SLOT; ++i)
for (uint8 itr = 0; itr < MAX_MOTION_SLOT; ++itr)
{
MovementGenerator* movementGenerator = motionMaster->GetMotionSlot(i);
MovementGenerator* movementGenerator = motionMaster->GetMotionSlot(MovementSlot(itr));
if (!movementGenerator)
{
handler->SendSysMessage("Empty");