Browse Source

Update pm_shared.c.

visitors
Night Owl 8 years ago
parent
commit
4f79613eef
  1. 7
      pm_shared/pm_shared.c

7
pm_shared/pm_shared.c

@ -2857,6 +2857,13 @@ void PM_CheckParamters( void )
else else
{ {
VectorCopy( pmove->oldangles, pmove->angles ); VectorCopy( pmove->oldangles, pmove->angles );
//
// HL: Visitors - Do not allow rotations while dead. Since this mod features a dead camera,
// we must ensure not to update angles, otherwise player models would look
// like they 'jitter' around.
//
pmove->angles[YAW] = 0;
pmove->angles[PITCH] = 90;
} }
// Set dead player view_offset // Set dead player view_offset

Loading…
Cancel
Save