From 995ebae2bdedf8eae93ce16b7d6f3360bcd08db4 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Sun, 20 Mar 2022 23:50:42 -0400 Subject: [PATCH] Unnerf wall transfer speed (Sorry Ramp Park...) --- src/p_slopes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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