From 9e3b818ccea9841d7df3aaed8bd5c85037f8678a Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Sun, 29 Sep 2019 14:40:23 -0400 Subject: [PATCH] Fix finish line occasionally failing for small players --- src/p_map.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/p_map.c b/src/p_map.c index e2c7523d9..608f13a2c 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -2080,7 +2080,7 @@ static boolean PIT_CheckLine(line_t *ld) if (P_BoxOnLineSide(tmbbox, ld) != -1) return true; -if (tmthing->flags & MF_PAPERCOLLISION) // Caution! Turning whilst up against a wall will get you stuck. You probably shouldn't give the player this flag. + if (tmthing->flags & MF_PAPERCOLLISION) // Caution! Turning whilst up against a wall will get you stuck. You probably shouldn't give the player this flag. { fixed_t cosradius, sinradius; cosradius = FixedMul(tmthing->radius, FINECOSINE(tmthing->angle>>ANGLETOFINESHIFT)); @@ -2881,9 +2881,6 @@ boolean P_TryMove(mobj_t *thing, fixed_t x, fixed_t y, boolean allowdropoff) // reset this to 0 at the start of each trymove call as it's only used here numspechitint = 0U; - if (radius < MAXRADIUS/2) - radius = MAXRADIUS/2; - do { if (thing->flags & MF_NOCLIP) { tryx = x;