From 1dfaee5d49836023b40543e8fde2c0d0f7737170 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 23 Nov 2010 06:48:02 +0000 Subject: [PATCH] * sv_main.c (SV_WriteEntitiesToClient): the protocol check must be against sv.protocol, not sv_protocol. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@347 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/sv_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quake/sv_main.c b/Quake/sv_main.c index 9ca346f5..aef4b675 100644 --- a/Quake/sv_main.c +++ b/Quake/sv_main.c @@ -538,7 +538,7 @@ void SV_WriteEntitiesToClient (edict_t *clent, sizebuf_t *msg) continue; //johnfitz -- don't send model>255 entities if protocol is 15 - if (sv_protocol == PROTOCOL_NETQUAKE && (int)ent->v.modelindex & 0xFF00) + if (sv.protocol == PROTOCOL_NETQUAKE && (int)ent->v.modelindex & 0xFF00) continue; // ignore if not touching a PV leaf