mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-14 17:00:39 +00:00
Prevent boosted teleports from throwing you the wrong direction on exit
This commit is contained in:
parent
b96a86a289
commit
9a8cd9f095
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