From efe17cc691ce19ce5295be2946eb77676ce80528 Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Sun, 8 Dec 2024 19:22:12 +1100 Subject: [PATCH] Fix clipping flying monsters over liquid sectors --- src/p_map.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_map.c b/src/p_map.c index d5728cbe2..431d53457 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -1005,7 +1005,8 @@ bool P_IsInLiquid(mobj_t *thing) highestsector = sector; } - return (highestsector->terraintype >= LIQUID && !highestsector->isselfreferencing); + return (highestsector->terraintype >= LIQUID && !highestsector->isselfreferencing + && !(thing->flags & MF_NOGRAVITY)); } //