mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-27 06:22:13 +00:00
- 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:
parent
ee61daed97
commit
f7122e7f73
1 changed files with 6 additions and 5 deletions
|
@ -136,13 +136,14 @@ struct Duke native
|
||||||
SB_AIM_DOWN = 1 << 22,
|
SB_AIM_DOWN = 1 << 22,
|
||||||
SB_LOOK_LEFT = 1 << 23,
|
SB_LOOK_LEFT = 1 << 23,
|
||||||
SB_LOOK_RIGHT = 1 << 24,
|
SB_LOOK_RIGHT = 1 << 24,
|
||||||
SB_LOOK_UP = 1 << 25,
|
SB_LOOK_UP = SB_AIM_UP|SB_CENTERVIEW,
|
||||||
SB_LOOK_DOWN = 1 << 26,
|
SB_LOOK_DOWN = SB_AIM_DOWN|SB_CENTERVIEW,
|
||||||
|
SB_CROUCH = 1 << 25,
|
||||||
|
SB_CROUCH_LOCK = 1 << 26,
|
||||||
SB_RUN = 1 << 27,
|
SB_RUN = 1 << 27,
|
||||||
SB_JUMP = 1 << 28,
|
SB_JUMP = 1 << 28,
|
||||||
SB_CROUCH = 1 << 29,
|
SB_FIRE = 1 << 29,
|
||||||
SB_FIRE = 1 << 30,
|
SB_ALTFIRE = 1 << 30,
|
||||||
SB_ALTFIRE = 1u << 31,
|
|
||||||
|
|
||||||
SB_WEAPONMASK_BITS = (15u * SB_FIRST_WEAPON_BIT), // Weapons take up 4 bits
|
SB_WEAPONMASK_BITS = (15u * SB_FIRST_WEAPON_BIT), // Weapons take up 4 bits
|
||||||
SB_ITEMUSE_BITS = (127u * SB_ITEM_BIT_1),
|
SB_ITEMUSE_BITS = (127u * SB_ITEM_BIT_1),
|
||||||
|
|
Loading…
Reference in a new issue