mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Update pm_shared.c.
This commit is contained in:
parent
206ce4c6fd
commit
4f79613eef
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user