mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 20:17:58 -04:00
revert changes to centery calculation in R_SetupFreelook (#1584)
I don't understand why, but it fixes the garbage pixels reported in the DW thread.
This commit is contained in:
parent
ac5d78f78f
commit
26c7ab3423
@ -501,8 +501,8 @@ static void R_SetupFreelook(void)
|
||||
dy = 0;
|
||||
}
|
||||
|
||||
centeryfrac = (viewheight << FRACBITS) / 2 + dy;
|
||||
centery = centeryfrac >> FRACBITS;
|
||||
centery = viewheight / 2 + (dy >> FRACBITS);
|
||||
centeryfrac = centery << FRACBITS;
|
||||
|
||||
for (i = 0; i < viewheight; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user