"t" is not needed to take out fencepost cases from viewangletox

This commit is contained in:
Monster Iestyn committed 2018-10-11 20:00:05 +01:00
1 parent 07dd527e7e
commit 91b2f5e570
1 file changed
-3
-3
View File
@@ -491,9 +491,6 @@ static void R_InitTextureMapping(void)
// Take out the fencepost cases from viewangletox.
for (i = 0; i < FINEANGLES/2; i++)
{
t = FixedMul(FINETANGENT(i), focallength);
t = centerx - t;
if (viewangletox[i] == -1)
viewangletox[i] = 0;
else if (viewangletox[i] == viewwidth+1)