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

This commit is contained in:
Monster Iestyn 2017-02-11 23:24:12 +00:00
parent 07dd527e7e
commit 91b2f5e570
1 changed files with 0 additions and 3 deletions

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)