Merge branch 'unnerf-wall-transfer' into 'master'

Unnerf wall transfer speed

See merge request KartKrew/Kart!559
This commit is contained in:
SteelT 2022-03-22 03:33:40 +00:00
commit 60948d887a

View file

@ -880,7 +880,7 @@ fixed_t P_GetWallTransferMomZ(mobj_t *mo, pslope_t *slope)
slopemom.x = mo->momx;
slopemom.y = mo->momy;
slopemom.z = 3*(mo->momz/2);
slopemom.z = mo->momz;
axis.x = -slope->d.y;
axis.y = slope->d.x;
@ -888,7 +888,7 @@ fixed_t P_GetWallTransferMomZ(mobj_t *mo, pslope_t *slope)
FV3_Rotate(&slopemom, &axis, ang >> ANGLETOFINESHIFT);
return 2*(slopemom.z/3);
return slopemom.z;
}
// Function to help handle landing on slopes