mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-13 00:24:17 +00:00
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:
commit
ea49b16a02
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue