- 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:
parent
b2d018eccd
commit
9a025fbb23
2 changed files with 5 additions and 1 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue