Browse Source

engine: client: use ReadVec3Angles in svc_setangle, as server uses WriteVec3Angles

pull/2/head
Alibek Omarov 2 years ago
parent
commit
84edd9d0c4
  1. 6
      engine/client/cl_parse.c

6
engine/client/cl_parse.c

@ -1238,11 +1238,9 @@ CL_ParseSetAngle @@ -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…
Cancel
Save