in bot.cpp, around line 7118
change this code:
Code:
if(pBot->bot_personality==1)
SelectWeaponByName(pBot, "weapon_knife");
to this
Code:
if(pBot->bot_personality==1)
{
if (pBot->current_weapon.iId != CS_WEAPON_KNIFE)
if (pBot->current_weapon.iId != CS_WEAPON_INSWITCH)
SelectWeaponByName(pBot, "weapon_knife");
}
will fix the problem.