From db5631dead2b6e429522dd15e40b8711dd632d0a Mon Sep 17 00:00:00 2001
From: Arthur <spaddlewit@gmail.com>
Date: Wed, 21 Feb 2024 09:49:32 -0500
Subject: [PATCH] This piece of code might not be needed anymore...

---
 src/p_mobj.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/p_mobj.c b/src/p_mobj.c
index 16ca0c6345..1c963e2b5a 100644
--- a/src/p_mobj.c
+++ b/src/p_mobj.c
@@ -2033,10 +2033,9 @@ void P_XYMovement(mobj_t *mo)
 						FIXED_TO_FLOAT(AngleFixed(newangle)),
 						FIXED_TO_FLOAT(AngleFixed(oldangle-newangle))
 						);*/
-		} else if (predictedz-mo->z > abs(slopemom.z/2)) { // Now check if we were supposed to stick to this slope
-			//CONS_Printf("%d-%d > %d\n", (predictedz), (mo->z), (slopemom.z/2));
+		}/* else if (predictedz-mo->z > abs(slopemom.z/2)) { // Now check if we were supposed to stick to this slope - This may no longer be needed and causes constant 'floor landing' when standing at the top of slopes.
 			P_SlopeLaunch(mo);
-		}
+		}*/
 	} else if (moved && mo->standingslope && predictedz) {
 		angle_t moveangle = R_PointToAngle2(0, 0, mo->momx, mo->momy);
 		angle_t newangle = FixedMul((signed)mo->standingslope->zangle, FINECOSINE((moveangle - mo->standingslope->xydirection) >> ANGLETOFINESHIFT));
-- 
GitLab