- Implement multitick viewpitch centering logic.

SVN r3512 (trunk)
This commit is contained in:
Randy Heit 2012-04-03 04:09:30 +00:00
commit c5a3d846dd
3 changed files with 20 additions and 11 deletions

View file

@ -593,7 +593,7 @@ void R_InterpolateView (player_t *player, fixed_t frac, InterpolationViewer *ivi
{
viewangle = iview->nviewangle + (LocalViewAngle & 0xFFFF0000);
fixed_t delta = -(signed)(LocalViewPitch & 0xFFFF0000);
fixed_t delta = player->centering ? 0 : -(signed)(LocalViewPitch & 0xFFFF0000);
viewpitch = iview->nviewpitch;
if (delta > 0)