Skip to content
Snippets Groups Projects
Commit ea49b16a authored by Sal's avatar Sal
Browse files

Merge branch 'boostedteleportfix' into 'next'

Prevent boosted spinout teleports from throwing you the wrong direction

See merge request KartKrew/Kart-Public!349
parents 27aecdb9 9a8cd9f0
Branches master
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment