Browse Source

fixed version check

Image 3 years ago
parent
commit
a945ee7511
1 changed files with 1 additions and 1 deletions
  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) {