From 02f7efab101f8a57562220b8eefe5be35a844e29 Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Mon, 9 Dec 2024 16:18:23 +1100 Subject: [PATCH] Further improve traversing adjacent liquid sectors at different heights --- 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 431d53457..9ec73d3f6 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->flags & MF_NOGRAVITY)); + && (thing->player || thing->z == highestsector->floorheight)); } //