From: mand1nga Date: Thu, 9 Dec 2010 23:33:08 +0000 (-0300) Subject: Don't chase players while using a jump pad X-Git-Tag: xonotic-v0.1.0preview~15^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b0ce8be0ba4a73b8df694a4d59d55e044a00300b;p=xonotic%2Fxonotic-data.pk3dir.git Don't chase players while using a jump pad --- diff --git a/qcsrc/server/bot/havocbot/havocbot.qc b/qcsrc/server/bot/havocbot/havocbot.qc index 28352cd89..d8287df16 100644 --- a/qcsrc/server/bot/havocbot/havocbot.qc +++ b/qcsrc/server/bot/havocbot/havocbot.qc @@ -507,6 +507,10 @@ void havocbot_movetogoal() } return; } + + // Don't chase players while using a jump pad + if(self.goalcurrent.classname=="player" || self.goalstack01.classname=="player") + return; } } else if(self.aistatus & AI_STATUS_OUT_JUMPPAD)