mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
Fix up some netquake initial angle quirk.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5689 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
08ccf2d0a8
commit
5d1d1ef9be
1 changed files with 2 additions and 2 deletions
|
@ -1669,8 +1669,8 @@ void SV_SendFixAngle(client_t *client, sizebuf_t *msg, int fixtype, qboolean rol
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MSG_WriteByte (msg, svc_setangle);
|
MSG_WriteByte (msg, svc_setangle);
|
||||||
if (host_client->ezprotocolextensions1 & EZPEXT1_SETANGLEREASON)
|
if (client->ezprotocolextensions1 & EZPEXT1_SETANGLEREASON)
|
||||||
MSG_WriteByte (&host_client->netchan.message, (fixtype == FIXANGLE_DELTA)?2:0); //shitty backwards incompatible protocol extension that breaks from writebytes.
|
MSG_WriteByte (msg, (fixtype == FIXANGLE_DELTA)?2:0); //shitty backwards incompatible protocol extension that breaks from writebytes.
|
||||||
for (i=0 ; i < 3 ; i++)
|
for (i=0 ; i < 3 ; i++)
|
||||||
MSG_WriteAngle (msg, (i==2&&!roll)?0:ang[i]);
|
MSG_WriteAngle (msg, (i==2&&!roll)?0:ang[i]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue