From af77a59beab7b7f69f5ddbc3fdcd057bcddde84b Mon Sep 17 00:00:00 2001 From: funjoker Date: Fri, 1 Nov 2024 23:15:12 +0100 Subject: [PATCH] Fix 4.4.1 SMSG_CORPSE_LOCATION --- .../Parsers/CorpseHandler.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/WowPacketParserModule.V4_4_0_54481/Parsers/CorpseHandler.cs b/WowPacketParserModule.V4_4_0_54481/Parsers/CorpseHandler.cs index 15cf1715d4..e92256df26 100644 --- a/WowPacketParserModule.V4_4_0_54481/Parsers/CorpseHandler.cs +++ b/WowPacketParserModule.V4_4_0_54481/Parsers/CorpseHandler.cs @@ -21,9 +21,15 @@ public static void HandleCorpseLocation(Packet packet) packet.ReadBit("Valid"); packet.ReadPackedGuid128("Player"); packet.ReadInt32("ActualMapID"); - packet.ReadVector3("Position"); + + if (ClientVersion.RemovedInVersion(ClientVersionBuild.V4_4_1_57294)) + packet.ReadVector3("Position"); + packet.ReadInt32("MapID"); packet.ReadPackedGuid128("Transport"); + + if (ClientVersion.AddedInVersion(ClientVersionBuild.V4_4_1_57294)) + packet.ReadVector3("Position"); } [Parser(Opcode.SMSG_CORPSE_TRANSPORT_QUERY)]