mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
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:
commit
2d155fa366
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue