DEADSOFTWARE

Revert "network: oops; server player was unable to switch weapons"
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Fri, 4 Jan 2019 19:58:37 +0000 (22:58 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Fri, 4 Jan 2019 19:58:37 +0000 (22:58 +0300)
src/game/g_player.pas

index 5968cd1f4058e606d44ce0a45f9b2cc882cd4cc0..8a516bf35e0be35a7258ecac442aaca10ad3c48f 100644 (file)
@@ -1373,7 +1373,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;