From ae935a09554c3aac3a577ea7a628270d727179f1 Mon Sep 17 00:00:00 2001 From: RedEnchilada Date: Wed, 29 Apr 2015 00:36:24 -0500 Subject: [PATCH] Stop rubbing my ass on the code long enough to fix reverse gravity --- src/p_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_map.c b/src/p_map.c index 72b17473f..468e2530a 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -2003,7 +2003,7 @@ boolean P_TryMove(mobj_t *thing, fixed_t x, fixed_t y, boolean allowdropoff) thing->z = (thing->ceilingz = thingtop = tmceilingz) - thing->height; thing->eflags |= MFE_JUSTSTEPPEDDOWN; } - else if (thingtop == thing->ceilingz && tmceilingz , thingtop && thingtop - tmceilingz <= maxstep) + else if (thingtop == thing->ceilingz && tmceilingz < thingtop && thingtop - tmceilingz <= maxstep) { thing->z = (thing->ceilingz = thingtop = tmceilingz) - thing->height; thing->eflags |= MFE_JUSTSTEPPEDDOWN;