Browse Source

remove state changing to BOT_IDLE on bot thinking

bot10-respawn-bots-configured
ghost 11 months ago
parent
commit
5aad31dab6
  1. 3
      dlls/bot/bot.cpp

3
dlls/bot/bot.cpp

@ -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
} }

Loading…
Cancel
Save