- floatified the sector planes.

This should conclude the floating point conversions for now.
This commit is contained in:
Christoph Oelckers 2016-04-03 19:28:53 +02:00
commit fc5f98a0be
3 changed files with 47 additions and 65 deletions

View file

@ -1568,7 +1568,7 @@ void R_DrawNormalPlane (visplane_t *pl, fixed_t alpha, bool additive, bool maske
basexfrac = FixedMul (xscale, finecosine[planeang]) + x*xstepscale;
baseyfrac = FixedMul (yscale, -finesine[planeang]) + x*ystepscale;
planeheight = abs (int(pl->height.fD() * -pl->height.fiC() * 65536) - viewz);
planeheight = abs (pl->height.Zat0() - viewz);
GlobVis = FixedDiv (r_FloorVisibility, planeheight);
if (fixedlightlev >= 0)