DEADSOFTWARE

network: oops; server player was unable to switch weapons
authorKetmar Dark <ketmar@ketmar.no-ip.org>
Mon, 1 Oct 2018 10:29:56 +0000 (13:29 +0300)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Mon, 1 Oct 2018 10:30:14 +0000 (13:30 +0300)
src/game/g_player.pas

index 897ece3dfc10bb11996e6ebe4df8e0d36fa54819..4429fd0957c2efda42813ebbf0a3801217cea65f 100644 (file)
@@ -1371,7 +1371,7 @@ begin
       if gPlayers[i] is TPlayer then
       begin
         gPlayers[i].Update();
-        if g_Game_IsClient or not g_Game_IsNet then
+        //if g_Game_IsClient or not g_Game_IsNet then
         begin
           gPlayers[i].RealizeCurrentWeapon(); // WARNING! DO NOT MOVE THIS INTO `Update()`!
         end;