- Implement multitick viewpitch centering logic.
SVN r3512 (trunk)
This commit is contained in:
parent
ee20c2169e
commit
c5a3d846dd
3 changed files with 20 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue