From: terencehill Date: Tue, 29 Nov 2016 17:58:39 +0000 (+0100) Subject: Fix "bot_cmd X pause" command occasionally blocking all other bots X-Git-Tag: xonotic-v0.8.2~388^2~1 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=9487c07fc17dfca1232b47348df4fb2932dee380;ds=sidebyside Fix "bot_cmd X pause" command occasionally blocking all other bots --- 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()