From e4b15dd1e89b8163bfc253f5a766e66deff2decc Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 15 Jan 2024 08:07:51 +0200 Subject: [PATCH] fix bot meta on initial spawn --- dlls/bot/bot.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/bot/bot.cpp b/dlls/bot/bot.cpp index 188dc997..19b76dd3 100644 --- a/dlls/bot/bot.cpp +++ b/dlls/bot/bot.cpp @@ -337,7 +337,8 @@ void CBot::Spawn( ) // get the bot's name and save it in respawn array... strcpy(bot_respawn[respawn_index].name, STRING(pev->netname)); - bot_respawn[respawn_index].state = BOT_IDLE; + bot_respawn[respawn_index].is_used = TRUE; + bot_respawn[respawn_index].state = BOT_IS_RESPAWNING; pev->ideal_yaw = pev->v_angle.y; pev->yaw_speed = BOT_YAW_SPEED;