- Adjusted AlterWeaponSprite so that it properly handles multiple

invisibility powerups at the same time.


SVN r450 (trunk)
This commit is contained in:
Christoph Oelckers 2007-01-14 08:58:07 +00:00
commit 554573bcb3
6 changed files with 90 additions and 13 deletions

View file

@ -768,12 +768,13 @@ void AInventory::AbsorbDamage (int damage, FName damageType, int &newdamage)
//
//===========================================================================
void AInventory::AlterWeaponSprite (vissprite_t *vis)
int AInventory::AlterWeaponSprite (vissprite_t *vis)
{
if (Inventory != NULL)
{
Inventory->AlterWeaponSprite (vis);
return Inventory->AlterWeaponSprite (vis);
}
return 0;
}
//===========================================================================