GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
251b8e9
)
Fix empty weapon switching
author
travi$ <aidenkovbk@mail.ru>
Sun, 27 Mar 2022 16:07:55 +0000
(19:07 +0300)
committer
Dmitry Lyashuk <terminalhash@th-mx>
Sun, 27 Mar 2022 16:17:51 +0000
(19:17 +0300)
src/game/g_player.pas
patch
|
blob
|
history
diff --git
a/src/game/g_player.pas
b/src/game/g_player.pas
index 2844773782d7fba82d31cc19611a96c5266b905a..1945f94f26be4d2c1a69de7416209db816648a5f 100644
(file)
--- 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;
DEADSOFTWARE 2012-2025