|
|
@ -1374,7 +1374,7 @@ void StartFrame( void ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if( !bot_respawn[i].is_used && |
|
|
|
if( !bot_respawn[i].is_used && |
|
|
|
bot_respawn[i].state == BOT_NEED_TO_RESPAWN && |
|
|
|
bot_respawn[i].state == BOT_NEED_TO_RESPAWN && |
|
|
|
gpGlobals->time >= respawn_time) |
|
|
|
gpGlobals->time >= respawn_time ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
bot_respawn[i].state = BOT_IS_RESPAWNING; |
|
|
|
bot_respawn[i].state = BOT_IS_RESPAWNING; |
|
|
|
bot_respawn[i].is_used = FALSE; // free up this slot
|
|
|
|
bot_respawn[i].is_used = FALSE; // free up this slot
|
|
|
@ -1387,7 +1387,6 @@ void StartFrame( void ) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
previous_time = gpGlobals->time; // keep track of last time in StartFrame()
|
|
|
|
previous_time = gpGlobals->time; // keep track of last time in StartFrame()
|
|
|
|
// END BOT
|
|
|
|
// END BOT
|
|
|
|