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