Update pm_shared.c.

This commit is contained in:
Night Owl 2016-10-02 01:38:31 +05:00
parent 206ce4c6fd
commit 4f79613eef

View File

@ -2857,6 +2857,13 @@ void PM_CheckParamters( void )
else
{
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