From ed0c27b240f66f54ad70cefd312fb92eecc329d2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 22 Dec 2021 23:34:26 +0100 Subject: [PATCH] - Duke: deleted unused spritetype* variants of badguy() and bossguy() --- source/games/duke/src/inlines.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/source/games/duke/src/inlines.h b/source/games/duke/src/inlines.h index 8a3b6fde7..e547214f2 100644 --- a/source/games/duke/src/inlines.h +++ b/source/games/duke/src/inlines.h @@ -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);