mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +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
|
enum EHitBits
|
||||||
{
|
{
|
||||||
kHitNone = 0,
|
kHitNone = 0,
|
||||||
kHitTypeMask = 0xE000,
|
kHitTypeMask = 0xC000,
|
||||||
kHitIndexMask = 0x1FFF,
|
kHitIndexMask = 0x3FFF,
|
||||||
kHitSector = 0x4000,
|
kHitSector = 0x4000,
|
||||||
kHitWall = 0x8000,
|
kHitWall = 0x8000,
|
||||||
kHitSprite = 0xC000,
|
kHitSprite = 0xC000,
|
||||||
|
|
|
@ -2809,7 +2809,7 @@ int ParseState::parse(void)
|
||||||
parseifelse( fi.floorspace(g_sp->sectnum));
|
parseifelse( fi.floorspace(g_sp->sectnum));
|
||||||
break;
|
break;
|
||||||
case concmd_ifnotmoving:
|
case concmd_ifnotmoving:
|
||||||
parseifelse( (g_ac->movflag&kHitTypeMask) > kHitSprite );
|
parseifelse( (g_ac->movflag&kHitTypeMask) > kHitSector );
|
||||||
break;
|
break;
|
||||||
case concmd_respawnhitag:
|
case concmd_respawnhitag:
|
||||||
insptr++;
|
insptr++;
|
||||||
|
|
Loading…
Reference in a new issue