- Duke: deleted unused spritetype* variants of badguy() and bossguy()

This commit is contained in:
Christoph Oelckers 2021-12-22 23:34:26 +01:00
parent 09634c4993
commit ed0c27b240

View file

@ -22,21 +22,11 @@ inline int badguypic(int const tileNum)
return ((gs.actorinfo[tileNum].flags & (SFLAG_INTERNAL_BADGUY | SFLAG_BADGUY)) != 0);
}
inline int badguy(spritetype const * const pSprite)
{
return badguypic(pSprite->picnum);
}
inline int bossguypic(int const tileNum)
{
return ((gs.actorinfo[tileNum].flags & (SFLAG_BOSS)) != 0);
}
inline int bossguy(spritetype const* const pSprite)
{
return bossguypic(pSprite->picnum);
}
inline int actorflag(DDukeActor * actor, int mask)
{
return (((gs.actorinfo[actor->spr.picnum].flags) & mask) != 0);