* sv_main.c (SV_WriteEntitiesToClient): the protocol check must be against

sv.protocol, not sv_protocol.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@347 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-11-23 06:48:02 +00:00
parent eb2e4b809b
commit 3ac8995ecd

View file

@ -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