Explorar o código

fixed version check

Image %!s(int64=3) %!d(string=hai) anos
pai
achega
a945ee7511
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      EQ2/source/WorldServer/Player.cpp

+ 1 - 1
EQ2/source/WorldServer/Player.cpp

@@ -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) {