#include "havocbot.qh"
#include "role_keyhunt.qh"
-#include "role_onslaught.qh"
#include "../bot.qh"
#include "../navigation.qh"
{
dprint("choosing a role...\n");
self.bot_strategytime = 0;
- if (MUTATOR_CALLHOOK(HavocBot_ChooseRole))
+ if (MUTATOR_CALLHOOK(HavocBot_ChooseRole, self))
return;
else if (g_keyhunt)
havocbot_chooserole_kh();
- else if (g_onslaught)
- havocbot_chooserole_ons();
else // assume anything else is deathmatch
havocbot_chooserole_dm();
}