From: mand1nga Date: Wed, 20 Apr 2011 07:59:31 +0000 (-0300) Subject: Check deadflag X-Git-Tag: xonotic-v0.5.0~264^2~28^2~1^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=172a5e15f3245e3dc85fbca747493202bbae9ed3;p=xonotic%2Fxonotic-data.pk3dir.git Check deadflag --- diff --git a/qcsrc/server/bot/bot.qc b/qcsrc/server/bot/bot.qc index 5c70af58c..d2ee461da 100644 --- a/qcsrc/server/bot/bot.qc +++ b/qcsrc/server/bot/bot.qc @@ -98,9 +98,7 @@ void bot_think() self.bot_strategytime = 0; } } - - // - if(self.aistatus & AI_STATUS_STUCK) + else if(self.aistatus & AI_STATUS_STUCK) navigation_unstuck(); // now call the current bot AI (havocbot for example)