From: travi$ Date: Sun, 27 Mar 2022 16:07:55 +0000 (+0300) Subject: Fix empty weapon switching X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=cbb81a52dd4f9a0552283b2031dec999dba0a824;p=d2df-sdl.git Fix empty weapon switching --- diff --git a/src/game/g_player.pas b/src/game/g_player.pas index 2844773..1945f94 100644 --- a/src/game/g_player.pas +++ b/src/game/g_player.pas @@ -2052,7 +2052,7 @@ begin result := false; end else if (FSwitchToEmpty = 0) and (not hasAmmoForShooting(Weapon)) then - result := false + result := false; end; procedure TPlayer.SwitchTeam;