}
}
-// 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;
}
}
-void havocbot_chooserole_dm()
+void havocbot_chooserole_generic()
{
- self.havocbot_role = havocbot_role_dm;
+ self.havocbot_role = havocbot_role_generic;
}
void havocbot_chooserole()
return;
else if (g_keyhunt)
havocbot_chooserole_kh();
- else // assume anything else is deathmatch
- havocbot_chooserole_dm();
+ else
+ havocbot_chooserole_generic();
}