mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 02:50:33 +00:00
engine: client: use ReadVec3Angles in svc_setangle, as server uses WriteVec3Angles
This commit is contained in:
parent
d8355a651f
commit
84edd9d0c4
@ -1238,11 +1238,9 @@ CL_ParseSetAngle
|
||||
set the view angle to this absolute value
|
||||
================
|
||||
*/
|
||||
void CL_ParseSetAngle( sizebuf_t *msg )
|
||||
static void CL_ParseSetAngle( sizebuf_t *msg )
|
||||
{
|
||||
cl.viewangles[0] = MSG_ReadBitAngle( msg, 16 );
|
||||
cl.viewangles[1] = MSG_ReadBitAngle( msg, 16 );
|
||||
cl.viewangles[2] = MSG_ReadBitAngle( msg, 16 );
|
||||
MSG_ReadVec3Angles( msg, cl.viewangles );
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user