mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Fix tilting on backward slopes
This commit is contained in:
parent
46ba47785d
commit
1fc942e47a
1 changed files with 3 additions and 1 deletions
|
|
@ -1674,7 +1674,9 @@ void P_XYMovement(mobj_t *mo)
|
||||||
mo->momz = transfermomz;
|
mo->momz = transfermomz;
|
||||||
mo->standingslope = NULL;
|
mo->standingslope = NULL;
|
||||||
P_SetPitchRoll(mo, ANGLE_90,
|
P_SetPitchRoll(mo, ANGLE_90,
|
||||||
transferslope->xydirection);
|
transferslope->xydirection
|
||||||
|
+ (transferslope->zangle
|
||||||
|
& ANGLE_180));
|
||||||
if (player)
|
if (player)
|
||||||
{
|
{
|
||||||
player->powers[pw_justlaunched] = 2;
|
player->powers[pw_justlaunched] = 2;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue