mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 13:14:51 +00:00
remove state changing to BOT_IDLE on bot thinking
This commit is contained in:
parent
6d2f4bc58f
commit
af277a035b
@ -1768,7 +1768,7 @@ void CBot::BotThink( void )
|
||||
pev->deadflag = DEAD_DEAD; // make the kicked bot be dead
|
||||
|
||||
bot_respawn[respawn_index].is_used = FALSE; // this slot is now free
|
||||
bot_respawn[respawn_index].state = BOT_IDLE;
|
||||
|
||||
respawn_index = -1; // indicate no slot used
|
||||
|
||||
// fall through to next if statement (respawn_index will be -1)
|
||||
@ -2106,4 +2106,3 @@ void CBot::BotThink( void )
|
||||
gpGlobals->frametime * 1000 );
|
||||
// TheFatal - END
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user