make sure unused player slots are skipped when linking (should fix elmex'

segfault)
This commit is contained in:
Bill Currie 2002-03-15 16:49:40 +00:00
parent 54037f1115
commit e386a02292

View file

@ -758,6 +758,9 @@ CL_LinkPlayers (void)
if (state->messagenum != cl.parsecount)
continue; // not present this frame
if (!info->name[0])
continue;
// spawn light flashes, even ones coming from invisible objects
if (j == cl.playernum) {
VectorCopy (cl.simorg, org);