From e386a022925565fa8d1bae6b0b6db466e76f0800 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 15 Mar 2002 16:49:40 +0000 Subject: [PATCH] make sure unused player slots are skipped when linking (should fix elmex' segfault) --- qw/source/cl_ents.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qw/source/cl_ents.c b/qw/source/cl_ents.c index 91baa93dd..bf727837e 100644 --- a/qw/source/cl_ents.c +++ b/qw/source/cl_ents.c @@ -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);