From bbc1d94d1d716b7338e86382cbf44268a838c708 Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Mon, 9 Dec 2024 16:53:20 +1100 Subject: [PATCH] Revert "Further improve traversing adjacent liquid sectors at different heights" This reverts commit 02f7efab101f8a57562220b8eefe5be35a844e29. --- 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 9ec73d3f6..431d53457 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -1006,7 +1006,7 @@ bool P_IsInLiquid(mobj_t *thing) } return (highestsector->terraintype >= LIQUID && !highestsector->isselfreferencing - && (thing->player || thing->z == highestsector->floorheight)); + && !(thing->flags & MF_NOGRAVITY)); } //