From d98a4421c9b3c0bd00acca4f2773a0089c82d9a7 Mon Sep 17 00:00:00 2001 From: mand1nga Date: Tue, 7 Dec 2010 20:53:10 -0300 Subject: [PATCH] Don't change roles while using a jump pad --- qcsrc/server/bot/havocbot/havocbot.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/server/bot/havocbot/havocbot.qc b/qcsrc/server/bot/havocbot/havocbot.qc index c1785a8d27..a983e696ca 100644 --- a/qcsrc/server/bot/havocbot/havocbot.qc +++ b/qcsrc/server/bot/havocbot/havocbot.qc @@ -21,7 +21,8 @@ void havocbot_ai() } else { - self.havocbot_role(); + if not(self.jumppadcount) + self.havocbot_role(); } // TODO: tracewalk() should take care of this job (better path finding under water) -- 2.39.2