mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-10 23:32:06 +00:00
check if ent->client not ent->inuse since we want to check connecting clients
This commit is contained in:
parent
540b74dad2
commit
d05e867eac
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue