From: Paul Scott Date: Mon, 23 May 2011 09:30:43 +0000 (+1000) Subject: Adding modified files that were forgotten. X-Git-Tag: xonotic-v0.5.0~199^2~13^2~4^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ebdecdc95c771fa38f401df101fd4e59cf4f607e;p=xonotic%2Fxonotic-data.pk3dir.git Adding modified files that were forgotten. --- diff --git a/qcsrc/server/bot/havocbot/havocbot.qc b/qcsrc/server/bot/havocbot/havocbot.qc index dd111d9f0..265731f69 100644 --- a/qcsrc/server/bot/havocbot/havocbot.qc +++ b/qcsrc/server/bot/havocbot/havocbot.qc @@ -2,6 +2,7 @@ #include "role_ctf.qc" #include "role_onslaught.qc" #include "role_keyhunt.qc" +#include "role_freezetag.qc" #include "roles.qc" void havocbot_ai() diff --git a/qcsrc/server/bot/havocbot/roles.qc b/qcsrc/server/bot/havocbot/roles.qc index ebd0d4e44..a428cf485 100644 --- a/qcsrc/server/bot/havocbot/roles.qc +++ b/qcsrc/server/bot/havocbot/roles.qc @@ -310,7 +310,7 @@ void havocbot_chooserole_dom() void havocbot_chooserole_ka() { self.havocbot_role = havocbot_role_ka; -} +}; void havocbot_chooserole() { @@ -328,6 +328,8 @@ void havocbot_chooserole() havocbot_chooserole_ons(); else if (g_keepaway) havocbot_chooserole_ka(); + else if (g_freezetag) + havocbot_chooserole_ft(); else // assume anything else is deathmatch havocbot_chooserole_dm(); };