From 9bea58d550db5b4e207770da8f20cae2cb871e0d Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 30 Aug 2015 15:38:53 +1000 Subject: [PATCH] Rename the default bot role --- qcsrc/server/bot/havocbot/roles.qc | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/qcsrc/server/bot/havocbot/roles.qc b/qcsrc/server/bot/havocbot/roles.qc index 593488e44..c56f70598 100644 --- a/qcsrc/server/bot/havocbot/roles.qc +++ b/qcsrc/server/bot/havocbot/roles.qc @@ -211,12 +211,9 @@ void havocbot_goalrating_enemyplayers(float ratingscale, vector org, float sradi } } -// choose a role according to the situation -void havocbot_role_dm(); - -//DM: -//go to best items -void havocbot_role_dm() +// legacy bot role for standard gamemodes +// go to best items +void havocbot_role_generic() { if(self.deadflag != DEAD_NO) return; @@ -232,9 +229,9 @@ void havocbot_role_dm() } } -void havocbot_chooserole_dm() +void havocbot_chooserole_generic() { - self.havocbot_role = havocbot_role_dm; + self.havocbot_role = havocbot_role_generic; } void havocbot_chooserole() @@ -245,6 +242,6 @@ void havocbot_chooserole() return; else if (g_keyhunt) havocbot_chooserole_kh(); - else // assume anything else is deathmatch - havocbot_chooserole_dm(); + else + havocbot_chooserole_generic(); } -- 2.39.2