#ifdef some nnext stuff

This commit is contained in:
Christoph Oelckers 2023-10-08 13:37:45 +02:00
parent f61dc0467f
commit 2480f27eb4
2 changed files with 4 additions and 0 deletions

View file

@ -3431,7 +3431,9 @@ void MoveDude(DBloodActor* actor)
double tz = (actor->spr.pos.Z - top) / 4;
double wdf = actor->clipdist;
auto pSector = actor->sector();
#ifdef NOONE_EXTENSIONS
int nAiStateType = (actor->xspr.aiState) ? actor->xspr.aiState->stateType : -1;
#endif
assert(pSector);

View file

@ -130,6 +130,7 @@ public:
return GetType() >= kItemAmmoBase && GetType() < kItemAmmoMax;
}
#ifdef NOONE_EXTENSIONS
bool isActive()
{
if (!hasX())
@ -147,6 +148,7 @@ public:
return true;
}
}
#endif
void ChangeType(PClass* newtype)
{