This commit is contained in:
ghost 2024-01-14 20:28:18 +02:00
parent b43d2ce038
commit 2827b8aa3c

View File

@ -1031,7 +1031,7 @@ void StartFrame( void )
// if the game is over (time/frag limit) set the respawn time... // if the game is over (time/frag limit) set the respawn time...
respawn_time = 5.0; respawn_time = 5.0;
// cout total players // count total players
for( i = 1; i <= gpGlobals->maxClients; i++ ) for( i = 1; i <= gpGlobals->maxClients; i++ )
{ {
CBasePlayer *pPlayer = (CBasePlayer *)UTIL_PlayerByIndex( i ); CBasePlayer *pPlayer = (CBasePlayer *)UTIL_PlayerByIndex( i );
@ -1047,7 +1047,7 @@ void StartFrame( void )
} }
// check if a map was changed via "map" without kicking bots... // check if a map was changed via "map" without kicking bots...
if( (count < max_bots) && (previous_time > gpGlobals->time) ) if( ( count < max_bots ) && ( previous_time > gpGlobals->time ) )
{ {
bot_check_time = gpGlobals->time + 10.0; bot_check_time = gpGlobals->time + 10.0;