mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-19 07:01:09 +00:00
did some flag naming
This commit is contained in:
parent
6229a6256c
commit
e8dd2d5b89
1 changed files with 10 additions and 9 deletions
|
@ -1731,13 +1731,13 @@ void aiInitSprite(DBloodActor* actor)
|
|||
{
|
||||
pDudeExtraE->thinkTime = 0;
|
||||
aiNewState(actor, &zombieSIdle);
|
||||
actor->spr.flags &= ~1;
|
||||
actor->spr.flags &= ~kPhysMove;
|
||||
break;
|
||||
}
|
||||
case kDudeZombieAxeBuried: {
|
||||
pDudeExtraE->thinkTime = 0;
|
||||
aiNewState(actor, &zombieEIdle);
|
||||
actor->spr.flags &= ~1;
|
||||
actor->spr.flags &= ~kPhysMove;
|
||||
break;
|
||||
}
|
||||
case kDudeGargoyleFlesh:
|
||||
|
@ -1857,24 +1857,25 @@ void aiInitSprite(DBloodActor* actor)
|
|||
case kDudeSpiderBrown:
|
||||
case kDudeSpiderRed:
|
||||
case kDudeSpiderBlack:
|
||||
if (actor->spr.cstat & CSTAT_SPRITE_YFLIP) actor->spr.flags |= 9;
|
||||
else actor->spr.flags = 15;
|
||||
if (actor->spr.cstat & CSTAT_SPRITE_YFLIP) actor->spr.flags |= kPhysMove | kHitagAutoAim;
|
||||
else actor->spr.flags = kPhysMove | kPhysGravity | kPhysFalling | kHitagAutoAim;
|
||||
break;
|
||||
case kDudeGargoyleFlesh:
|
||||
case kDudeGargoyleStone:
|
||||
case kDudePhantasm:
|
||||
case kDudeBoneEel:
|
||||
case kDudeBat:
|
||||
actor->spr.flags |= 9;
|
||||
actor->spr.flags |= kPhysMove | kHitagAutoAim;
|
||||
break;
|
||||
case kDudeGillBeast:
|
||||
if (pXSector && pXSector->Underwater) actor->spr.flags |= 9;
|
||||
else actor->spr.flags = 15;
|
||||
if (pXSector && pXSector->Underwater) actor->spr.flags |= kPhysMove | kHitagAutoAim;
|
||||
else actor->spr.flags = kPhysMove | kPhysGravity | kPhysFalling | kHitagAutoAim;
|
||||
break;
|
||||
case kDudeZombieAxeBuried:
|
||||
case kDudeZombieAxeLaying:
|
||||
actor->spr.flags = 7;
|
||||
actor->spr.flags = kPhysMove | kPhysGravity | kPhysFalling;
|
||||
break;
|
||||
|
||||
#ifdef NOONE_EXTENSIONS
|
||||
case kDudePodMother: // FakeDude type
|
||||
if (gModernMap) break;
|
||||
|
@ -1894,7 +1895,7 @@ void aiInitSprite(DBloodActor* actor)
|
|||
// go default
|
||||
#endif
|
||||
default:
|
||||
actor->spr.flags = 15;
|
||||
actor->spr.flags = kPhysMove | kPhysGravity | kPhysFalling | kHitagAutoAim;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue