- changed AlterWeaponSprite so that it doesn't take a full vissprite as parameter.

- FCoverageBuffer is only used in r_things.cpp, so its declaration does not need to be in a global header that's included everywhere.


SVN r3258 (trunk)
This commit is contained in:
Christoph Oelckers 2011-07-06 13:00:51 +00:00
commit 42091b1bb3
9 changed files with 136 additions and 126 deletions

View file

@ -464,7 +464,7 @@ void APowerInvulnerable::EndEffect ()
//
//===========================================================================
int APowerInvulnerable::AlterWeaponSprite (vissprite_t *vis)
int APowerInvulnerable::AlterWeaponSprite (visstyle_t *vis)
{
int changed = Inventory == NULL ? false : Inventory->AlterWeaponSprite(vis);
if (Owner != NULL)
@ -655,7 +655,7 @@ void APowerInvisibility::EndEffect ()
//
//===========================================================================
int APowerInvisibility::AlterWeaponSprite (vissprite_t *vis)
int APowerInvisibility::AlterWeaponSprite (visstyle_t *vis)
{
int changed = Inventory == NULL ? false : Inventory->AlterWeaponSprite(vis);
// Blink if the powerup is wearing off