X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_player.pas;h=5968cd1f4058e606d44ce0a45f9b2cc882cd4cc0;hp=7436e7a95a77d928002f0dd974b74fe045cebda9;hb=c467a8913c6e2075633c2a5454e692cc94a4be0a;hpb=e4eae2f8951ffc804d17cb23521b2b8096343e81 diff --git a/src/game/g_player.pas b/src/game/g_player.pas index 7436e7a..5968cd1 100644 --- a/src/game/g_player.pas +++ b/src/game/g_player.pas @@ -1373,7 +1373,6 @@ begin if gPlayers[i] is TPlayer then begin gPlayers[i].Update(); - if (not gPlayers[i].alive) then gPlayers[i].NetForceWeapFIdx := 0; // just in case //if g_Game_IsClient or not g_Game_IsNet then begin gPlayers[i].RealizeCurrentWeapon(); // WARNING! DO NOT MOVE THIS INTO `Update()`! @@ -4384,7 +4383,7 @@ begin FSecrets := 0; //FCurrFrameIdx := 0; //FNetForceWeap := FCurrWeap; - FNetForceWeapFIdx := 0; + //FNetForceWeapFIdx := 0; if FNoRespawn then begin FSpectator := False; @@ -4410,7 +4409,6 @@ begin FLastHit := 0; FLastFrag := 0; FComboEvnt := -1; - FNetForceWeapFIdx := 0; SetFlag(FLAG_NONE); SetAction(A_STAND, True); @@ -4578,7 +4576,6 @@ begin FPain := 0; FLastHit := 0; //FNetForceWeap := FCurrWeap; - FNetForceWeapFIdx := 0; if not g_Game_IsServer then Exit;