From 5ef24e1a3ce445136131139c8757818532e60298 Mon Sep 17 00:00:00 2001 From: James R Date: Wed, 1 Mar 2023 07:23:56 -0800 Subject: [PATCH] Fix flashing tics flickering animation for light snake --- src/k_respawn.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/k_respawn.c b/src/k_respawn.c index 0997c2b40..4d3675490 100644 --- a/src/k_respawn.c +++ b/src/k_respawn.c @@ -344,7 +344,10 @@ static void K_MovePlayerToRespawnPoint(player_t *player) player->mo->momx = player->mo->momy = player->mo->momz = 0; - player->flashing = 2; + // 3 because this timer counts down afterward, in + // P_PlayerThink. flashing must be > 1 after it has + // counted down in order to flicker the player sprite. + player->flashing = 3; //player->nocontrol = max(2, player->nocontrol); if (leveltime % 8 == 0 && !mapreset)