mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 07:42:15 +00:00
bug fix in countdown code
This commit is contained in:
parent
f330eb00d2
commit
f551f8b016
1 changed files with 8 additions and 2 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.130 2002/08/22 03:29:07 niceass
|
||||||
|
// bug fix in countdown code
|
||||||
|
//
|
||||||
// Revision 1.129 2002/08/21 07:00:07 jbravo
|
// Revision 1.129 2002/08/21 07:00:07 jbravo
|
||||||
// Added CTB respawn queue and fixed game <-> cgame synch problem in CTB
|
// Added CTB respawn queue and fixed game <-> cgame synch problem in CTB
|
||||||
//
|
//
|
||||||
|
@ -1267,10 +1270,13 @@ void RQ3_StartTimer (int team, int delay)
|
||||||
ent = &g_entities[i];
|
ent = &g_entities[i];
|
||||||
if (!ent->inuse || !ent->client)
|
if (!ent->inuse || !ent->client)
|
||||||
continue;
|
continue;
|
||||||
if (!ent->client->pers.connected != CON_CONNECTED)
|
|
||||||
|
if (ent->client->pers.connected != CON_CONNECTED)
|
||||||
continue;
|
continue;
|
||||||
if (ent->client->sess.savedTeam == team)
|
|
||||||
|
if (ent->client->sess.savedTeam == team) {
|
||||||
trap_SendServerCommand(ent - g_entities, va("rq3_cmd %i %i", CTBCOUNTDOWN, delay));
|
trap_SendServerCommand(ent - g_entities, va("rq3_cmd %i %i", CTBCOUNTDOWN, delay));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue