Don't overwrite Tutorial objectives when failing tricks

This commit is contained in:
AJ Martinez 2024-05-03 16:00:14 -07:00
parent 6867fcfba3
commit 092bd77bd4

View file

@ -13520,7 +13520,8 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
player->tumbleHeight = 30; // Base tumble bounce height
player->trickpanel = TRICKSTATE_NONE;
P_SetPlayerMobjState(player->mo, S_KART_SPINOUT);
K_AddMessageForPlayer(player, "Press <dpad> + <a> to trick!", true, false);
if (gametype != GT_TUTORIAL)
K_AddMessageForPlayer(player, "Press <dpad> + <a> to trick!", true, false);
if (player->itemflags & (IF_ITEMOUT|IF_EGGMANOUT))
{
//K_PopPlayerShield(player); // shield is just being yeeted, don't pop