From 33b6c320b2936d5714325f745c84d35c1fd660d1 Mon Sep 17 00:00:00 2001 From: James R Date: Sat, 9 Jan 2021 19:47:41 -0800 Subject: [PATCH] Reset tumbleLastBounce so the final bounce always happens --- src/k_kart.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/k_kart.c b/src/k_kart.c index 6b409f19d..33355b26c 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -2584,6 +2584,7 @@ static void K_HandleTumbleBounce(player_t *player) { // End tumble state player->tumbleBounces = 0; + player->tumbleLastBounce = false; // Reset for next time return; } else @@ -2591,7 +2592,7 @@ static void K_HandleTumbleBounce(player_t *player) // One last bounce at the minimum height, to reset the animation player->tumbleHeight = 10; player->tumbleLastBounce = true; - player->mo->rollangle = 0; // p_user.c will sotp rotating the player automatically + player->mo->rollangle = 0; // p_user.c will stop rotating the player automatically } }