Fixed ftesv's PEXT_MODELDBL support. It'll work in ezquake again now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3078 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2008-12-02 23:05:14 +00:00
parent bf63418315
commit bab14ec1af

View file

@ -487,7 +487,7 @@ void SV_WriteDelta (entity_state_t *from, entity_state_t *to, sizebuf_t *msg, qb
bits |= U_MODEL;
if (to->modelindex > 255)
{
if (protext & PEXT_DPFLAGS)
if (protext & PEXT_MODELDBL)
evenmorebits |= U_MODELDBL;
else
return;
@ -2541,8 +2541,10 @@ void SV_Snapshot_BuildQ1(client_t *client, packet_entities_t *pack, qbyte *pvs,
continue;
}
}
#ifdef PEXT_MODELDBL
if (ent->v->modelindex >= 256 && !(client->fteprotocolextensions & PEXT_MODELDBL))
continue;
#endif
}
#ifdef DEPTHOPTIMISE