DEADSOFTWARE

Net: Buffer outgoing messages
[d2df-sdl.git] / src / game / g_game.pas
index 7b8324325dffae8ff5a131987a28a9326f555b87..77fd80ac499b78f21c870be4cb5a75d167fca1e2 100644 (file)
@@ -4614,6 +4614,7 @@ begin
         if not InMsg.Init(Ptr, NetEvent.packet^.dataLength, True) then
           continue;
 
+        InMsg.ReadLongWord(); // skip size
         MID := InMsg.ReadByte();
 
         if (MID = NET_MSG_INFO) and (State = 0) then