From ec0b0213a7cf2be354e06b0170a5c130f2f521f9 Mon Sep 17 00:00:00 2001 From: Stas'M Date: Mon, 24 Sep 2018 02:51:36 +0300 Subject: [PATCH] Player: Fix weapon cycling bitmask --- src/game/g_player.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/g_player.pas b/src/game/g_player.pas index 7d81725..1a10f7b 100644 --- a/src/game/g_player.pas +++ b/src/game/g_player.pas @@ -3724,7 +3724,7 @@ begin 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; -- 2.29.2