From 41573b118c42f4457f6dc6f5dac08785a87d4d16 Mon Sep 17 00:00:00 2001
From: RedEnchilada <redenchilada@derpymail.com>
Date: Sun, 17 May 2015 12:36:06 -0500
Subject: [PATCH] I'm a dumbass

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

diff --git a/src/p_mobj.c b/src/p_mobj.c
index 421ec400a4..013f523c69 100644
--- a/src/p_mobj.c
+++ b/src/p_mobj.c
@@ -1107,9 +1107,9 @@ fixed_t P_GetFOFBottomZ(mobj_t *mobj, sector_t *sector, ffloor_t *fof, fixed_t x
 	I_Assert(sector != NULL);
 	I_Assert(fof != NULL);
 #ifdef ESLOPE
-	if (*fof->t_slope) {
+	if (*fof->b_slope) {
 		fixed_t testx, testy;
-		pslope_t *slope = *fof->t_slope;
+		pslope_t *slope = *fof->b_slope;
 
 		// Get the corner of the object that should be the lowest on the slope
 		if (slope->d.x < 0)
-- 
GitLab