From: havoc Date: Thu, 14 Jun 2007 03:40:06 +0000 (+0000) Subject: fix a bug in server support for PROTOCOL_NEHAHRAMOVIE X-Git-Tag: xonotic-v0.1.0preview~3048 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2a44b90e383303113fd127f9ad5e7f0c0092628f;p=xonotic%2Fdarkplaces.git fix a bug in server support for PROTOCOL_NEHAHRAMOVIE git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7413 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/protocol.c b/protocol.c index 2bebb486..1e4ea169 100644 --- a/protocol.c +++ b/protocol.c @@ -539,8 +539,11 @@ void EntityFrameQuake_WriteFrame(sizebuf_t *msg, int numstates, const entity_sta MSG_WriteByte (&buf, bits); if (bits & U_MOREBITS) MSG_WriteByte(&buf, bits>>8); - if (bits & U_EXTEND1) MSG_WriteByte(&buf, bits>>16); - if (bits & U_EXTEND2) MSG_WriteByte(&buf, bits>>24); + if (sv.protocol != PROTOCOL_NEHAHRAMOVIE) + { + if (bits & U_EXTEND1) MSG_WriteByte(&buf, bits>>16); + if (bits & U_EXTEND2) MSG_WriteByte(&buf, bits>>24); + } if (bits & U_LONGENTITY) MSG_WriteShort(&buf, s->number); else MSG_WriteByte(&buf, s->number);