]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Adding modified files that were forgotten.
authorPaul Scott <poogascott@gmail.com>
Mon, 23 May 2011 09:30:43 +0000 (19:30 +1000)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 20 Jun 2011 08:25:21 +0000 (10:25 +0200)
qcsrc/server/bot/havocbot/havocbot.qc
qcsrc/server/bot/havocbot/roles.qc

index dd111d9f00400f376eedd8ea6462ec90c3caaddd..265731f690d1d4ea231d976491301eb842f623ab 100644 (file)
@@ -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()
index ebd0d4e44d1cc28458c547c46df2c8c2906b7d07..a428cf48553543cefb82aaece76ec71656a2436d 100644 (file)
@@ -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();
 };