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:
parent
e6c741f2fe
commit
0e77fa7386
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue