From: DeaDDooMER Date: Fri, 4 Jan 2019 19:58:37 +0000 (+0300) Subject: Revert "network: oops; server player was unable to switch weapons" X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=commitdiff_plain;h=e32689cfd904d28db1305343e89f41b2aeb664ea;hp=5c25a7dbffb4dbd896cc24cfafbd8cc52ddf22a4 Revert "network: oops; server player was unable to switch weapons" This reverts commit 4a731d0c9ac5b354185b3eb5959a5484a3413b4a. --- diff --git a/src/game/g_player.pas b/src/game/g_player.pas index 5968cd1..8a516bf 100644 --- a/src/game/g_player.pas +++ b/src/game/g_player.pas @@ -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;