fixed version check

This commit is contained in:
Image 2020-07-18 22:28:49 -04:00
parent 8e7126ce28
commit a945ee7511

View file

@ -1529,7 +1529,7 @@ EQ2Packet* PlayerInfo::serialize(int16 version, int16 modifyPos, int32 modifyVal
//DumpPacket(tmp, size);
}
if (GetVersion() >= 546)
if (version >= 546)
{
PacketStruct* control_packet = configReader.getStruct("WS_SetControlGhost", version);
if (control_packet) {