remove state changing to BOT_IDLE on bot thinking

This commit is contained in:
ghost 2024-01-14 04:28:09 +02:00
parent 6d2f4bc58f
commit af277a035b

View File

@ -1768,7 +1768,7 @@ void CBot::BotThink( void )
pev->deadflag = DEAD_DEAD; // make the kicked bot be dead 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].is_used = FALSE; // this slot is now free
bot_respawn[respawn_index].state = BOT_IDLE;
respawn_index = -1; // indicate no slot used respawn_index = -1; // indicate no slot used
// fall through to next if statement (respawn_index will be -1) // fall through to next if statement (respawn_index will be -1)
@ -2106,4 +2106,3 @@ void CBot::BotThink( void )
gpGlobals->frametime * 1000 ); gpGlobals->frametime * 1000 );
// TheFatal - END // TheFatal - END
} }