From 654c98f2eec5b158e92d26d3494030573b223699 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 29 Jul 2024 03:17:45 +0200 Subject: [PATCH] Revert "smol fix" This reverts commit b9f4eaa413f96b330ed37e46fa05af23ef54ff76. --- src/p_user.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/p_user.c b/src/p_user.c index 974f7c78b..71de7ea30 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -1727,8 +1727,7 @@ static void P_CheckInvincibilityTimer(player_t *player) player->mo->color = (UINT8)(1 + (leveltime % (MAXSKINCOLORS-1))); - if (player == stplyr) - G_SetPlayerGamepadIndicatorToPlayerColor(player->mo->color); + G_SetPlayerGamepadIndicatorToPlayerColor((UINT8)(1 + (leveltime % (MAXSKINCOLORS-1)))); // Resume normal music stuff. if (player->powers[pw_invulnerability] == 1 || player->kartstuff[k_invincibilitytimer] == 1)