From 2181dadb4cead6b3dbb8f63ada6446ee72202d90 Mon Sep 17 00:00:00 2001 From: SSNTails <github@spaddlewit.com> Date: Fri, 15 Mar 2024 16:39:37 -0400 Subject: [PATCH] Checking MFE_VERTICALFLIP matching is actually redundant.. --- src/p_map.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/p_map.c b/src/p_map.c index 088d552088..57883b4481 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -1043,7 +1043,6 @@ static unsigned PIT_DoCheckThing(mobj_t *thing) if ((thing->flags & MF_PUSHABLE) // not carrying a player && (tmthing->player->powers[pw_carry] == CR_NONE) // player is not already riding something && !(tmthing->player->powers[pw_ignorelatch] & (1<<15)) - && ((tmthing->eflags & MFE_VERTICALFLIP) == (thing->eflags & MFE_VERTICALFLIP) || tmthing->player->powers[pw_gravityboots]) && (P_MobjFlip(tmthing)*tmthing->momz <= 0) && ((!(tmthing->eflags & MFE_VERTICALFLIP) && abs(thing->z + thing->height - tmthing->z) < (thing->height>>2)) || (tmthing->eflags & MFE_VERTICALFLIP && abs(tmthing->z + tmthing->height - thing->z) < (thing->height>>2)))) -- GitLab