From 7e45ded64dd54f73ef2de9bf96438b2bb526404e Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 16 Jan 2024 21:36:35 +0200 Subject: [PATCH] add BOT_IS_RESPAWNING state on BotCreate --- dlls/bot/bot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/bot/bot.cpp b/dlls/bot/bot.cpp index 19b76dd3..83962c22 100644 --- a/dlls/bot/bot.cpp +++ b/dlls/bot/bot.cpp @@ -294,6 +294,7 @@ void BotCreate(const char *skin, const char *name, const char *skill) sprintf(c_index, "%d", index); 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 strcpy(bot_respawn[index].skin, c_skin);