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