mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
use the right bitmask
This commit is contained in:
parent
e927008711
commit
1918e256f1
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue