|
|
@ -1026,12 +1026,13 @@ void StartFrame( void ) |
|
|
|
// START BOT
|
|
|
|
// START BOT
|
|
|
|
int count = 0; |
|
|
|
int count = 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// count total players
|
|
|
|
if( ( g_fGameOver ) && ( respawn_time < 1.0 ) ) |
|
|
|
if( ( g_fGameOver ) && ( respawn_time < 1.0 ) ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// 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; |
|
|
|
|
|
|
|
|
|
|
|
// count total players
|
|
|
|
// check if any players are using the botcam...
|
|
|
|
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 ); |
|
|
|