Merge branch 'fix-respawn-turning' into 'master'

Don't apply handling boost if you're not alive

See merge request KartKrew/Kart!1187
This commit is contained in:
Sal 2023-04-25 01:50:38 +00:00
commit 76c275424e

View file

@ -9020,7 +9020,7 @@ INT16 K_GetKartTurnValue(player_t *player, INT16 turnvalue)
finalhandleboost = FixedMul(5*SLIPTIDEHANDLING/4, FixedDiv(player->speed, topspeed));
}
if (finalhandleboost > 0)
if (finalhandleboost > 0 && player->respawn.state == RESPAWNST_NONE)
{
turnfixed = FixedMul(turnfixed, FRACUNIT + finalhandleboost);
}