reset tilt when respawning

This commit is contained in:
Alug committed 2024-07-23 20:02:20 +02:00
1 parent aa38586f82
commit 5613a0d173
1 file changed
+6
+6
View File
@@ -4246,6 +4246,12 @@ DoABarrelRoll (player_t *player)
return;
}
if (player->kartstuff[k_respawn])
{
player->tilt = 0;
return;
}
if (player->mo->standingslope)
{
slope = player->mo->standingslope->real_zangle;