Skip to content

Commit

Permalink
Fix update object destination missing from wps
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Nov 9, 2024
1 parent 81aebf4 commit 25cd67f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions WowPacketParserModule.V2_5_1_38707/Parsers/UpdateHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,11 @@ private static MovementInfo ReadMovementUpdateBlock(Packet packet, WowGuid guid,
}

var destination = packet.ReadVector3("Destination", index);
movement.Waypoints.Add(new CreatureMovementNode
{
Position = destination,
Point = true
});

var hasMovementSplineMove = packet.ReadBit("MovementSplineMove", index);
if (hasMovementSplineMove)
Expand Down

0 comments on commit 25cd67f

Please sign in to comment.