File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -671,7 +671,7 @@ void R_Subsector (int num)
671
671
672
672
basecolormap = frontsector->colormap ->maps ;
673
673
674
- ceilingplane = P_CeilingHeight (camera ) > viewz ||
674
+ ceilingplane = P_CeilingHeight (viewx, viewy, frontsector ) > viewz ||
675
675
frontsector->ceilingpic == skyflatnum ||
676
676
(frontsector->heightsec &&
677
677
!(frontsector->heightsec ->MoreFlags & SECF_IGNOREHEIGHTSEC) &&
@@ -691,7 +691,7 @@ void R_Subsector (int num)
691
691
// killough 3/7/98: Add (x,y) offsets to flats, add deep water check
692
692
// killough 3/16/98: add floorlightlevel
693
693
// killough 10/98: add support for skies transferred from sidedefs
694
- floorplane = P_FloorHeight (camera ) < viewz || // killough 3/7/98
694
+ floorplane = P_FloorHeight (viewx, viewy, frontsector ) < viewz || // killough 3/7/98
695
695
(frontsector->heightsec &&
696
696
!(frontsector->heightsec ->MoreFlags & SECF_IGNOREHEIGHTSEC) &&
697
697
frontsector->heightsec ->ceilingpic == skyflatnum) ?
You can’t perform that action at this time.
0 commit comments