- updated the SB_* constants on the script side.

Commit 272dfa762d changed a few on the native side but forgot to update the script version of it.
This caused all checks for SB_FIRE to fail.
This commit is contained in:
Christoph Oelckers 2023-04-10 19:46:05 +02:00
parent ee61daed97
commit f7122e7f73

View file

@ -136,13 +136,14 @@ struct Duke native
SB_AIM_DOWN = 1 << 22,
SB_LOOK_LEFT = 1 << 23,
SB_LOOK_RIGHT = 1 << 24,
SB_LOOK_UP = 1 << 25,
SB_LOOK_DOWN = 1 << 26,
SB_LOOK_UP = SB_AIM_UP|SB_CENTERVIEW,
SB_LOOK_DOWN = SB_AIM_DOWN|SB_CENTERVIEW,
SB_CROUCH = 1 << 25,
SB_CROUCH_LOCK = 1 << 26,
SB_RUN = 1 << 27,
SB_JUMP = 1 << 28,
SB_CROUCH = 1 << 29,
SB_FIRE = 1 << 30,
SB_ALTFIRE = 1u << 31,
SB_FIRE = 1 << 29,
SB_ALTFIRE = 1 << 30,
SB_WEAPONMASK_BITS = (15u * SB_FIRST_WEAPON_BIT), // Weapons take up 4 bits
SB_ITEMUSE_BITS = (127u * SB_ITEM_BIT_1),