From 31845cd16b884e4110b30bcba7831076144c5af7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 24 Apr 2016 00:15:47 +0200 Subject: [PATCH] - fixed two fixed/float mixups. --- src/r_segs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/r_segs.cpp b/src/r_segs.cpp index eadf66db2..5f4baf220 100644 --- a/src/r_segs.cpp +++ b/src/r_segs.cpp @@ -2055,7 +2055,7 @@ void R_NewWall (bool needlights) } else { // bottom of texture at top - rw_midtexturemid = (frontsector->GetPlaneTexZ(sector_t::ceiling) - ViewPos.Z) * yrepeat + midtexture->GetHeight(); + rw_midtexturemid = (frontsector->GetPlaneTexZF(sector_t::ceiling) - ViewPos.Z) * yrepeat + midtexture->GetHeight(); } } if (midtexture->bWorldPanning) @@ -2244,7 +2244,7 @@ void R_NewWall (bool needlights) } else { // bottom of texture at top - rw_bottomtexturemid = (backsector->GetPlaneTexZ(sector_t::floor) - ViewPos.Z) * yrepeat + bottomtexture->GetHeight(); + rw_bottomtexturemid = (backsector->GetPlaneTexZF(sector_t::floor) - ViewPos.Z) * yrepeat + bottomtexture->GetHeight(); } } if (bottomtexture->bWorldPanning)