From b0ce8be0ba4a73b8df694a4d59d55e044a00300b Mon Sep 17 00:00:00 2001 From: mand1nga Date: Thu, 9 Dec 2010 20:33:08 -0300 Subject: [PATCH] Don't chase players while using a jump pad --- qcsrc/server/bot/havocbot/havocbot.qc | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.39.2