mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 04:20:42 +00:00
- SW: fixed NORM_xxx macros
kHitIndexMask already has the -1 considered, it is 0x3fff.
This commit is contained in:
parent
401f3cf1d7
commit
01deb13694
1 changed files with 3 additions and 3 deletions
|
@ -330,9 +330,9 @@ inline int SPRITEp_SIZE_BOS(const spritetype* sp)
|
|||
#define HIT_SECTOR BIT(14)
|
||||
#define HIT_PLAX_WALL BIT(16)
|
||||
|
||||
#define NORM_SPRITE(val) ((val) & (kHitIndexMask - 1))
|
||||
#define NORM_WALL(val) ((val) & (kHitIndexMask - 1))
|
||||
#define NORM_SECTOR(val) ((val) & (kHitIndexMask - 1))
|
||||
#define NORM_SPRITE(val) ((val) & (kHitIndexMask))
|
||||
#define NORM_WALL(val) ((val) & (kHitIndexMask))
|
||||
#define NORM_SECTOR(val) ((val) & (kHitIndexMask))
|
||||
|
||||
// overwritesprite flags
|
||||
#define OVER_SPRITE_MIDDLE (BIT(0))
|
||||
|
|
Loading…
Reference in a new issue