Core/Movement: MotionMaster & MovementGenerators cleaning

Port From (https://github.com/TrinityCore/TrinityCore/commit/14c6a4d8238e4f383557359436b5f73cb730d4ea)
This commit is contained in:
hondacrx
2020-05-07 14:16:30 -04:00
parent dff455da9d
commit c9a91fa62f
12 changed files with 631 additions and 669 deletions
+1 -1
View File
@@ -430,7 +430,7 @@ namespace Game.AI
ClearCharmInfoFlags();
me.GetCharmInfo().SetIsReturning(true);
me.GetMotionMaster().Clear();
me.GetMotionMaster().MovePoint(me.GetGUID().GetCounter(), x, y, z);
me.GetMotionMaster().MovePoint((uint)me.GetGUID().GetCounter(), x, y, z);
}
}
else // COMMAND_FOLLOW