Skip to content

Commit

Permalink
Fix SCRIPT_COMMAND_MOVE_DYNAMIC not using specified relayId (dataint2).
Browse files Browse the repository at this point in the history
  • Loading branch information
Nytanath authored and killerwife committed Feb 25, 2022
1 parent 7fdb1ea commit bbc7b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/MotionGenerators/MotionMaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ void MotionMaster::MoveStay(float x, float y, float z, float o, bool asMain)

void MotionMaster::MovePoint(uint32 id, Position const& position, ForcedMovement forcedMovement/* = FORCED_MOVEMENT_NONE*/, float speed/* = 0.f*/, bool generatePath/* = true*/, ObjectGuid guid/* = ObjectGuid()*/, uint32 relayId/* = 0*/)
{
Mutate(new PointMovementGenerator(id, position.x, position.y, position.z, position.o, generatePath, forcedMovement, speed));
Mutate(new PointMovementGenerator(id, position.x, position.y, position.z, position.o, generatePath, forcedMovement, speed, guid, relayId));
}

void MotionMaster::MovePoint(uint32 id, float x, float y, float z, ForcedMovement forcedMovement/* = FORCED_MOVEMENT_NONE*/, bool generatePath/* = true*/)
Expand Down

0 comments on commit bbc7b38

Please sign in to comment.