Merge branch 'remove-fracunit-2' into 'next'

I have no idea why software does this.

See merge request STJr/SRB2!1517
This commit is contained in:
Nev3r 2021-06-01 07:42:36 -04:00
commit 2d155fa366

View file

@ -955,7 +955,7 @@ void R_ExecuteSetViewSize(void)
j = viewheight*16;
for (i = 0; i < j; i++)
{
dy = ((i - viewheight*8)<<FRACBITS) + FRACUNIT/2;
dy = (i - viewheight*8)<<FRACBITS;
dy = FixedMul(abs(dy), fovtan);
yslopetab[i] = FixedDiv(centerx*FRACUNIT, dy);
}