let invul flash rgb in rainbow lol
This commit is contained in:
1 parent
ae0bce61f6
commit
0a717e0081
1 file changed
+3
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user