summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 919ca52)
raw | patch | inline | side by side (parent: 919ca52)
author | Stas'M <x86corez@gmail.com> | |
Sun, 23 Sep 2018 23:51:36 +0000 (02:51 +0300) | ||
committer | Stas'M <x86corez@gmail.com> | |
Sun, 23 Sep 2018 23:51:36 +0000 (02:51 +0300) |
src/game/g_player.pas | patch | blob | history |
diff --git a/src/game/g_player.pas b/src/game/g_player.pas
index 7d81725f7dddd40549fa18ba20020c4b177af339..1a10f7b8ebba0a78fa964b8100dca3bd6fe3d191 100644 (file)
--- a/src/game/g_player.pas
+++ b/src/game/g_player.pas
if not switchAllowed then
begin
//HACK for weapon cycling
- if (FNextWeap and $7000) <> 0 then FNextWeap := 0;
+ if (FNextWeap and $E000) <> 0 then FNextWeap := 0;
exit;
end;