mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-19 08:51:59 +00:00
make sure unused player slots are skipped when linking (should fix elmex'
segfault)
This commit is contained in:
parent
54037f1115
commit
e386a02292
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue