Skip to content

Commit c32f298

Browse files
Merge branch 'stable' into mapinfo-skill-name
2 parents e4527d5 + 5c594b4 commit c32f298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/r_bsp.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ void R_Subsector (int num)
671671

672672
basecolormap = frontsector->colormap->maps;
673673

674-
ceilingplane = P_CeilingHeight(camera) > viewz ||
674+
ceilingplane = P_CeilingHeight(viewx, viewy, frontsector) > viewz ||
675675
frontsector->ceilingpic == skyflatnum ||
676676
(frontsector->heightsec &&
677677
!(frontsector->heightsec->MoreFlags & SECF_IGNOREHEIGHTSEC) &&
@@ -691,7 +691,7 @@ void R_Subsector (int num)
691691
// killough 3/7/98: Add (x,y) offsets to flats, add deep water check
692692
// killough 3/16/98: add floorlightlevel
693693
// 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
695695
(frontsector->heightsec &&
696696
!(frontsector->heightsec->MoreFlags & SECF_IGNOREHEIGHTSEC) &&
697697
frontsector->heightsec->ceilingpic == skyflatnum) ?

0 commit comments

Comments
 (0)