mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 21:24:27 +00:00
commit
f8f20374ab
@ -1194,7 +1194,7 @@ void StartFrame( void )
|
||||
|
||||
// have to delay here or engine gives "Tried to write to
|
||||
// uninitialized sizebuf_t" error and crashes...
|
||||
pause_time = gpGlobals->time + 1.0;
|
||||
pause_time = gpGlobals->time + 1;
|
||||
break;
|
||||
}
|
||||
else if( strcmp( cmd, "botskill" ) == 0 )
|
||||
@ -1374,6 +1374,9 @@ void StartFrame( void )
|
||||
{
|
||||
if( !bot_respawn[i].is_used && bot_respawn[i].state == BOT_IDLE)
|
||||
{
|
||||
bot_respawn[i].state = BOT_IS_RESPAWNING;
|
||||
bot_respawn[i].is_used = FALSE; // free up this slot
|
||||
|
||||
BotCreate( bot_respawn[i].skin, bot_respawn[i].name, bot_respawn[i].skill );
|
||||
|
||||
respawn_time = gpGlobals->time + 1.0; // set next respawn time
|
||||
|
Loading…
x
Reference in New Issue
Block a user