DEADSOFTWARE

Fix empty weapon switching
authortravi$ <aidenkovbk@mail.ru>
Sun, 27 Mar 2022 16:07:55 +0000 (19:07 +0300)
committerDmitry Lyashuk <terminalhash@th-mx>
Sun, 27 Mar 2022 16:17:51 +0000 (19:17 +0300)
src/game/g_player.pas

index 2844773782d7fba82d31cc19611a96c5266b905a..1945f94f26be4d2c1a69de7416209db816648a5f 100644 (file)
@@ -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;