Browse Source

add BOT_IS_RESPAWNING state on BotCreate

bot10-respawn-bots-configured
ghost 11 months ago
parent
commit
7e45ded64d
  1. 1
      dlls/bot/bot.cpp

1
dlls/bot/bot.cpp

@ -294,6 +294,7 @@ void BotCreate(const char *skin, const char *name, const char *skill)
sprintf(c_index, "%d", index); sprintf(c_index, "%d", index);
bot_respawn[index].is_used = TRUE; // this slot is used bot_respawn[index].is_used = TRUE; // this slot is used
bot_respawn[index].state = BOT_IS_RESPAWNING;
// don't store the name here, it might change if same as another // don't store the name here, it might change if same as another
strcpy(bot_respawn[index].skin, c_skin); strcpy(bot_respawn[index].skin, c_skin);

Loading…
Cancel
Save