"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 a5001a6af9
commit a51548abea

View file

@ -490,9 +490,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)