summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e80d004)
raw | patch | inline | side by side (parent: e80d004)
author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Mon, 1 Oct 2018 11:04:07 +0000 (14:04 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Mon, 1 Oct 2018 11:04:25 +0000 (14:04 +0300) |
src/game/g_netmsg.pas | patch | blob | history |
diff --git a/src/game/g_netmsg.pas b/src/game/g_netmsg.pas
index f44e2113a2e45e99351cf381c53325cd588c1cab..9563b8083f9fd7d1f7955a35fb0a36a96200cf35 100644 (file)
--- a/src/game/g_netmsg.pas
+++ b/src/game/g_netmsg.pas
Exit;
end;
gTime := GT;
- 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;
+ 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;
PID := M.ReadWord();
Pl := g_Player_Get(PID);