Skip to content

Commit dae355b

Browse files
committed
Fix build detection for 12.0.0.65560 (1200.0.6556.0)
1 parent 529f47b commit dae355b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

WowPacketParser/Loading/BinaryPacketReader.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ void ReadHeader()
114114
{
115115
if (additionalLength >= 2)
116116
_snifferVersion = BitConverter.ToInt16(optionalData, 0);
117+
118+
// due to uint16 overflow in FileVersionInfo
119+
if (ClientVersion.Build == ClientVersionBuild.Zero && _snifferVersion == 0x0102)
120+
SetBuild(65560);
117121
}
118122
break;
119123
}

0 commit comments

Comments
 (0)