diff --git a/src/p_slopes.c b/src/p_slopes.c index 6c660ad0f..55bdd2917 100644 --- a/src/p_slopes.c +++ b/src/p_slopes.c @@ -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