mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 03:12:09 +01:00
Core/Movement: Make MovementGenerators use pointers instead of references. cleanup
This commit is contained in:
@@ -342,7 +342,7 @@ class boss_algalon_the_observer : public CreatureScript
|
||||
DoCast(me, SPELL_RIDE_THE_LIGHTNING, true);
|
||||
me->GetMotionMaster()->MovePoint(POINT_ALGALON_LAND, AlgalonLandPos);
|
||||
me->SetHomePosition(AlgalonLandPos);
|
||||
Movement::MoveSplineInit init(*me);
|
||||
Movement::MoveSplineInit init(me);
|
||||
init.MoveTo(AlgalonLandPos.GetPositionX(), AlgalonLandPos.GetPositionY(), AlgalonLandPos.GetPositionZ());
|
||||
init.SetOrientationFixed(true);
|
||||
init.Launch();
|
||||
|
||||
Reference in New Issue
Block a user