1
0
Fork 0
forked from fte/fteqw

Fix an mvd/qtv-related crash.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4018 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-04-20 14:13:18 +00:00
parent e6c741f2fe
commit 0e77fa7386

View file

@ -2884,8 +2884,10 @@ void SV_Snapshot_BuildQ1(client_t *client, packet_entities_t *pack, qbyte *pvs,
if (client->spectator)
trackent = EDICT_NUM(svprogfuncs, client->spec_track);
else
else if (clent)
trackent = PROG_TO_EDICT(svprogfuncs, clent->xv->view2);
else
trackent = NULL;
if (client->viewent
#ifdef NQPROT