Merge branch 'boostedteleportfix' into 'next'

Prevent boosted spinout teleports from throwing you the wrong direction

See merge request KartKrew/Kart-Public!349
This commit is contained in:
Sal 2024-03-31 20:37:11 +00:00
commit ea49b16a02

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);
}