- Adjusted AlterWeaponSprite so that it properly handles multiple
invisibility powerups at the same time. SVN r450 (trunk)
This commit is contained in:
parent
14ecb21dee
commit
554573bcb3
6 changed files with 90 additions and 13 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue