mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
Removed IsItemSprite, IsWeaponSprite, IsAmmoSprite function duplicates
This commit is contained in:
parent
681155de65
commit
5d6ac932d3
1 changed files with 0 additions and 15 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue