- fixed two fixed/float mixups.

This commit is contained in:
Christoph Oelckers 2016-04-24 00:15:47 +02:00
parent 593f6c29ad
commit 31845cd16b
1 changed files with 2 additions and 2 deletions

View File

@ -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)