Prevent boosted teleports from throwing you the wrong direction on exit

This commit is contained in:
Nep Disk 2024-03-30 03:51:05 +00:00
parent b96a86a289
commit 9a8cd9f095

View file

@ -181,6 +181,8 @@ boolean P_Teleport(mobj_t *thing, fixed_t x, fixed_t y, fixed_t z, angle_t angle
P_SetPlayerMobjState(thing, S_KART_STND1); // SRB2kart - was S_PLAY_STND
}
thing->player->kartstuff[k_boostangle] = angle;
if (flash)
P_FlashPal(thing->player, PAL_MIXUP, 10);
}