let invul flash rgb in rainbow lol

This commit is contained in:
Alug committed 2024-07-29 01:12:35 +02:00
1 parent ae0bce61f6
commit 0a717e0081
1 file changed
+3
+3
View File
@@ -1727,6 +1727,8 @@ static void P_CheckInvincibilityTimer(player_t *player)
player->mo->color = (UINT8)(1 + (leveltime % (MAXSKINCOLORS-1)));
G_SetPlayerGamepadIndicatorToPlayerColor((UINT8)(1 + (leveltime % (MAXSKINCOLORS-1))));
// Resume normal music stuff.
if (player->powers[pw_invulnerability] == 1 || player->kartstuff[k_invincibilitytimer] == 1)
{
@@ -1742,6 +1744,7 @@ static void P_CheckInvincibilityTimer(player_t *player)
}
P_RestoreMusic(player);
G_SetPlayerGamepadIndicatorToPlayerColor(0);
}
}