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)); } //