From 5d1d1ef9be80b65dea70dbe99d794d3511bc53e2 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 1 May 2020 07:34:21 +0000 Subject: [PATCH] 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 --- engine/server/sv_send.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/server/sv_send.c b/engine/server/sv_send.c index 4eef313da..3e6a03dbc 100644 --- a/engine/server/sv_send.c +++ b/engine/server/sv_send.c @@ -1669,8 +1669,8 @@ void SV_SendFixAngle(client_t *client, sizebuf_t *msg, int fixtype, qboolean rol else { MSG_WriteByte (msg, svc_setangle); - if (host_client->ezprotocolextensions1 & EZPEXT1_SETANGLEREASON) - MSG_WriteByte (&host_client->netchan.message, (fixtype == FIXANGLE_DELTA)?2:0); //shitty backwards incompatible protocol extension that breaks from writebytes. + if (client->ezprotocolextensions1 & EZPEXT1_SETANGLEREASON) + MSG_WriteByte (msg, (fixtype == FIXANGLE_DELTA)?2:0); //shitty backwards incompatible protocol extension that breaks from writebytes. for (i=0 ; i < 3 ; i++) MSG_WriteAngle (msg, (i==2&&!roll)?0:ang[i]); }