From 9487c07fc17dfca1232b47348df4fb2932dee380 Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 29 Nov 2016 18:58:39 +0100 Subject: [PATCH] Fix "bot_cmd X pause" command occasionally blocking all other bots --- qcsrc/server/bot/default/bot.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/server/bot/default/bot.qc b/qcsrc/server/bot/default/bot.qc index d39e0654e..427a229fb 100644 --- a/qcsrc/server/bot/default/bot.qc +++ b/qcsrc/server/bot/default/bot.qc @@ -659,6 +659,7 @@ void bot_clear(entity this) bot_remove_from_bot_list(this); if(bot_waypoint_queue_owner == this) bot_waypoint_queue_owner = NULL; + this.aistatus &= ~AI_STATUS_STUCK; // otherwise bot_waypoint_queue_owner will be set again to this by navigation_unstuck } void bot_serverframe() -- 2.39.2