- Changed xtoviewangle[] calculation so that when it mirrors the array to the left half, it

does not include xtoviewangle[centerx] in the mirroring so that the two columns at the center
  of the screen do not map to the same angle. (BTW, this array is only used for the sky drawing.)

SVN r2487 (trunk)
This commit is contained in:
Randy Heit 2010-08-01 20:21:04 +00:00
commit 9a025fbb23
2 changed files with 5 additions and 1 deletions

View file

@ -472,7 +472,7 @@ void R_InitTextureMapping ()
}
for (i = 0; i < centerx; i++)
{
xtoviewangle[i] = (angle_t)(-(signed)xtoviewangle[viewwidth-i-1]);
xtoviewangle[i] = (angle_t)(-(signed)xtoviewangle[viewwidth-i]);
}
}