From: Stas'M Date: Sun, 23 Sep 2018 23:51:36 +0000 (+0300) Subject: Player: Fix weapon cycling bitmask X-Git-Url: https://deadsoftware.ru/gitweb?a=commitdiff_plain;h=ec0b0213a7cf2be354e06b0170a5c130f2f521f9;p=d2df-sdl.git Player: Fix weapon cycling bitmask --- 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;