mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- Duke: fixed bad check in 'ifnotmoving' CON command.
This commit is contained in:
parent
645ea1e1ae
commit
5ae1c334fa
2 changed files with 3 additions and 3 deletions
|
@ -704,8 +704,8 @@ extern int32_t(*changespritestat_replace)(int16_t spritenum, int16_t newstatnum)
|
|||
enum EHitBits
|
||||
{
|
||||
kHitNone = 0,
|
||||
kHitTypeMask = 0xE000,
|
||||
kHitIndexMask = 0x1FFF,
|
||||
kHitTypeMask = 0xC000,
|
||||
kHitIndexMask = 0x3FFF,
|
||||
kHitSector = 0x4000,
|
||||
kHitWall = 0x8000,
|
||||
kHitSprite = 0xC000,
|
||||
|
|
|
@ -2809,7 +2809,7 @@ int ParseState::parse(void)
|
|||
parseifelse( fi.floorspace(g_sp->sectnum));
|
||||
break;
|
||||
case concmd_ifnotmoving:
|
||||
parseifelse( (g_ac->movflag&kHitTypeMask) > kHitSprite );
|
||||
parseifelse( (g_ac->movflag&kHitTypeMask) > kHitSector );
|
||||
break;
|
||||
case concmd_respawnhitag:
|
||||
insptr++;
|
||||
|
|
Loading…
Reference in a new issue