From 7d0d70c0940573fe99e1ab3b810773e5e159c2f2 Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 27 Feb 2024 22:11:32 +0100 Subject: [PATCH] oopsie --- src/p_user.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/p_user.c b/src/p_user.c index 2c04fb6ea..4037edbc3 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -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