From e4eae2f8951ffc804d17cb23521b2b8096343e81 Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Fri, 4 Jan 2019 22:58:37 +0300 Subject: [PATCH] Revert "oops; gTime fwp sync timeout was too small" This reverts commit f666629aca7f9df2fa9363d66f388fd5b30f76b3. --- src/game/g_netmsg.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/g_netmsg.pas b/src/game/g_netmsg.pas index 9563b80..f44e211 100644 --- a/src/game/g_netmsg.pas +++ b/src/game/g_netmsg.pas @@ -2043,8 +2043,8 @@ begin Exit; end; gTime := GT; - if g_Game_IsClient and (gPlayer1 <> nil) and (gPlayer1.NetForceWeapFIdx >= gTime+15) then gPlayer1.NetForceWeapFIdx := 0; - if g_Game_IsClient and (gPlayer2 <> nil) and (gPlayer2.NetForceWeapFIdx >= gTime+15) then gPlayer2.NetForceWeapFIdx := 0; + if g_Game_IsClient and (gPlayer1.NetForceWeapFIdx >= gTime+5) then gPlayer1.NetForceWeapFIdx := 0; + if g_Game_IsClient and (gPlayer2 <> nil) and (gPlayer2.NetForceWeapFIdx >= gTime+5) then gPlayer2.NetForceWeapFIdx := 0; PID := M.ReadWord(); Pl := g_Player_Get(PID); -- 2.29.2