X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_window.pas;h=37d979111dff1a34f01f50f30a3287c77f901493;hb=9ba8ea50592447e5c5874f94338e7dd75f5a35ed;hp=c4d1b0fb73a7984ce18686733833b6189abbac3e;hpb=c7a5223f1e2520ab13b480b937af1e208201de15;p=d2df-sdl.git diff --git a/src/game/g_window.pas b/src/game/g_window.pas index c4d1b0f..37d9791 100644 --- a/src/game/g_window.pas +++ b/src/game/g_window.pas @@ -145,15 +145,9 @@ begin begin flag := true; for i := 1 to t do - begin - if (NetMode = NET_SERVER) then g_Net_Host_Update() - else if (NetMode = NET_CLIENT) then g_Net_Client_Update(); Update(); - end; end; - if NetMode = NET_SERVER then g_Net_Flush(); - g_Map_ProfilersEnd(); g_Mons_ProfilersEnd(); @@ -181,7 +175,7 @@ begin begin if (not wMinimized) then begin - if gPause or not gLerpActors then + if gPause or (not gLerpActors) or (gState = STATE_FOLD) then gLerpFactor := 1.0 else gLerpFactor := nmin(1.0, (Time - Time_Old) / 28.0);