DEADSOFTWARE

net: anti full state spam (by fgsfds)
[d2df-sdl.git] / src / game / g_game.pas
index 47251204f2b021a78262a60f265d830d63308bda..261d5e9fe19c34c3fc46c193c917ba7b7cee43ce 100644 (file)
@@ -5163,6 +5163,11 @@ begin
 
   if NetMode = NET_SERVER then
   begin
+  // reset full state flags
+    if NetClients <> nil then
+      for I := 0 to High(NetClients) do
+        NetClients[I].FullUpdateSent := False;
+
     MH_SEND_GameEvent(NET_EV_MAPSTART, gGameSettings.GameMode, Map);
 
   // Ìàñòåðñåðâåð