Removed IsItemSprite, IsWeaponSprite, IsAmmoSprite function duplicates

This commit is contained in:
NoOneBlood 2020-02-08 00:27:26 +03:00 committed by Christoph Oelckers
parent 681155de65
commit 5d6ac932d3

View file

@ -2392,21 +2392,6 @@ struct POSTPONE {
POSTPONE gPost[kMaxSprites]; POSTPONE gPost[kMaxSprites];
bool IsItemSprite(spritetype *pSprite)
{
return pSprite->type >= kItemBase && pSprite->type < kItemMax;
}
bool IsWeaponSprite(spritetype *pSprite)
{
return pSprite->type >= kItemWeaponBase && pSprite->type < kItemWeaponMax;
}
bool IsAmmoSprite(spritetype *pSprite)
{
return pSprite->type >= kItemAmmoBase && pSprite->type < kItemAmmoMax;
}
bool IsUnderwaterSector(int nSector) bool IsUnderwaterSector(int nSector)
{ {
int nXSector = sector[nSector].extra; int nXSector = sector[nSector].extra;