From: mand1nga Date: Tue, 7 Dec 2010 23:53:10 +0000 (-0300) Subject: Don't change roles while using a jump pad X-Git-Tag: xonotic-v0.1.0preview~15^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d98a4421c9b3c0bd00acca4f2773a0089c82d9a7;p=xonotic%2Fxonotic-data.pk3dir.git Don't change roles while using a jump pad --- 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)