Skip to content

Commit

Permalink
Revert "Further improve traversing adjacent liquid sectors at differe…
Browse files Browse the repository at this point in the history
…nt heights"

This reverts commit 02f7efa.
  • Loading branch information
bradharding committed Dec 9, 2024
1 parent 02f7efa commit bbc1d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

//
Expand Down

0 comments on commit bbc1d94

Please sign in to comment.