mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Remove FRACUNIT/2
This commit is contained in:
parent
5e1e587ebb
commit
75397c347d
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