mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 03:52:12 -04:00
always print full weapon command in HUD widget
This commit is contained in:
parent
46f9050489
commit
2d48a6eca7
@ -100,10 +100,8 @@ static void TicToHudCmd(hud_cmd_t *hud_cmd, const ticcmd_t *cmd)
|
||||
|
||||
if (cmd->buttons & BT_CHANGE)
|
||||
{
|
||||
const int bt_weaponmask = demo_compatibility ?
|
||||
BT_WEAPONMASK_OLD : BT_WEAPONMASK;
|
||||
hud_cmd->change =
|
||||
1 + ((cmd->buttons & bt_weaponmask) >> BT_WEAPONSHIFT);
|
||||
1 + ((cmd->buttons & BT_WEAPONMASK) >> BT_WEAPONSHIFT);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user