From 5d6ac932d389d7495e9cbf87d2cd5f07f49f8807 Mon Sep 17 00:00:00 2001 From: NoOneBlood Date: Sat, 8 Feb 2020 00:27:26 +0300 Subject: [PATCH] Removed IsItemSprite, IsWeaponSprite, IsAmmoSprite function duplicates --- source/blood/src/actor.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/source/blood/src/actor.cpp b/source/blood/src/actor.cpp index 76e22b76e..2ee5fdb0a 100644 --- a/source/blood/src/actor.cpp +++ b/source/blood/src/actor.cpp @@ -2392,21 +2392,6 @@ struct POSTPONE { 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) { int nXSector = sector[nSector].extra;