use the right bitmask

This commit is contained in:
Alam Ed Arias 2017-10-11 17:12:41 -04:00
parent e927008711
commit 1918e256f1
1 changed files with 2 additions and 2 deletions

View File

@ -3675,7 +3675,7 @@ static void P_DoSuperStuff(player_t *player)
P_SpawnShieldOrb(player);
// Restore color
if ((player->powers[pw_shield] & SH_NOSTACK) == SH_FIREFLOWER)
if ((player->powers[pw_shield] & SH_STACK) == SH_FIREFLOWER)
{
player->mo->color = SKINCOLOR_WHITE;
G_GhostAddColor(GHC_FIREFLOWER);
@ -3725,7 +3725,7 @@ static void P_DoSuperStuff(player_t *player)
player->powers[pw_super] = 0;
// Restore color
if ((player->powers[pw_shield] & SH_NOSTACK) == SH_FIREFLOWER)
if ((player->powers[pw_shield] & SH_STACK) == SH_FIREFLOWER)
{
player->mo->color = SKINCOLOR_WHITE;
G_GhostAddColor(GHC_FIREFLOWER);