From d05e867eacfca88d218c89bf05cc2933b579f532 Mon Sep 17 00:00:00 2001 From: Scott Brooks Date: Sat, 4 Jul 2009 16:39:39 +0000 Subject: [PATCH] check if ent->client not ent->inuse since we want to check connecting clients --- reaction/code/game/g_matchmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reaction/code/game/g_matchmode.c b/reaction/code/game/g_matchmode.c index e9efb03c..717956d6 100644 --- a/reaction/code/game/g_matchmode.c +++ b/reaction/code/game/g_matchmode.c @@ -76,7 +76,7 @@ qboolean checkCaptain(team_t team) //Blaze: Prit out some Debug info if (&g_entities[i] == NULL) G_Printf("Ln 0059\n"); ent = &g_entities[i]; - if (!ent->inuse) + if (!ent->client) continue; if (ent->client->sess.savedTeam == team && ent->client->sess.captain == team) return qtrue;