This commit is contained in:
Alug committed 2024-02-27 22:11:32 +01:00
1 parent e75c5a9248
commit 7d0d70c094
1 file changed
+4 -6
+4 -6
View File
@@ -1737,9 +1737,7 @@ static void P_CheckInvincibilityTimer(player_t *player)
if (!player->powers[pw_invulnerability] && !player->kartstuff[k_invincibilitytimer])
return;
{
player->mo->color = (UINT8)(1 + (leveltime % (MAXSKINCOLORS-1)));
}
player->mo->color = (UINT8)(1 + (leveltime % (MAXSKINCOLORS-1)));
// Resume normal music stuff.
if (player->powers[pw_invulnerability] == 1 || player->kartstuff[k_invincibilitytimer] == 1)
@@ -1755,11 +1753,11 @@ static void P_CheckInvincibilityTimer(player_t *player)
P_SpawnShieldOrb(player);
}
if (!player->powers[pw_super] || (mapheaderinfo[gamemap-1]->levelflags & LF_NOSSMUSIC))*/
P_RestoreMusic(player);
P_RestoreMusic(player);
}
}
//
// P_DoBubbleBreath
//
@@ -4874,7 +4872,7 @@ void P_PlayerThink(player_t *player)
#ifdef HAVE_BLUA
LUAh_PlayerThink(player);
#endif
}
//
// P_PlayerAfterThink