summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3bc93c7)
raw | patch | inline | side by side (parent: 3bc93c7)
author | travi$ <aidenkovbk@mail.ru> | |
Sat, 26 Mar 2022 18:04:47 +0000 (21:04 +0300) | ||
committer | Dmitry Lyashuk <terminalhash@th-mx> | |
Sat, 26 Mar 2022 18:05:44 +0000 (21:05 +0300) |
src/game/g_player.pas | patch | blob | history |
diff --git a/src/game/g_player.pas b/src/game/g_player.pas
index 8f4331079506d89ee91e6c0b00d13701ad8c5153..f80d72195105d1d96dcbffd5a0f7a63dd8efb2fd 100644 (file)
--- a/src/game/g_player.pas
+++ b/src/game/g_player.pas
begin
result := true;
if (Weapon = WEAPON_KASTET) and (FSkipFist <> 0) then
+ begin
if (FSkipFist = 1) and (not (R_BERSERK in FRulez)) then
- result := false
- else if (FSwitchToEmpty = 0) and not hasAmmoForWeapon(Weapon) then
+ result := false;
+ end
+ else if (FSwitchToEmpty = 0) and (not hasAmmoForWeapon(Weapon)) then
result := false
end;