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