Fix tilting on backward slopes

This commit is contained in:
James R 2021-04-06 18:17:04 -07:00
parent 46ba47785d
commit 1fc942e47a

View file

@ -1674,7 +1674,9 @@ void P_XYMovement(mobj_t *mo)
mo->momz = transfermomz;
mo->standingslope = NULL;
P_SetPitchRoll(mo, ANGLE_90,
transferslope->xydirection);
transferslope->xydirection
+ (transferslope->zangle
& ANGLE_180));
if (player)
{
player->powers[pw_justlaunched] = 2;