mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 22:51:50 +00:00
- Duke: deleted unused spritetype* variants of badguy() and bossguy()
This commit is contained in:
parent
09634c4993
commit
ed0c27b240
1 changed files with 0 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue