Skip to content

Commit 32f1213

Browse files
committed
Fixed SMSG_START_MIRROR_TIMER for 4.4.2
1 parent 35e90d3 commit 32f1213

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

WowPacketParserModule.V4_4_0_54481/Parsers/MiscellaneousHandler.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,11 @@ public static void HandleSpecialMountAnim(Packet packet)
11781178
[Parser(Opcode.SMSG_START_MIRROR_TIMER)]
11791179
public static void HandleStartMirrorTimer(Packet packet)
11801180
{
1181-
packet.ReadInt32E<MirrorTimerType>("Timer");
1181+
if (ClientVersion.AddedInVersion(ClientVersionBuild.V4_4_2_59185))
1182+
packet.ReadByteE<MirrorTimerType>("Timer");
1183+
else
1184+
packet.ReadInt32E<MirrorTimerType>("Timer");
1185+
11821186
packet.ReadInt32("Value");
11831187
packet.ReadInt32("MaxValue");
11841188
packet.ReadInt32("Scale");

0 commit comments

Comments
 (0)