Skip to content

Commit

Permalink
Don't animate liquid sector if back sector has masked midtexture
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Jan 9, 2025
1 parent eb23339 commit 422bfc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/r_segs.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@ void R_StoreWallRange(const int start, const int stop)
if (backsector->terraintype >= LIQUID
&& backsector->interpfloorheight >= frontsector->interpfloorheight
&& (!backsector->heightsec || viewz > backsector->heightsec->interpfloorheight)
&& !sidedef->midtexture
&& r_liquid_bob)
{
liquidoffset = animatedliquiddiff;
Expand Down

0 comments on commit 422bfc5

Please sign in to comment.