added yb_camping_allowed.
partially fixed bot freeze when no ammo left in his guns. now bots' should switch to knife and rush enemy.
This commit is contained in:
parent
4c0c921efc
commit
18b4636500
5 changed files with 28 additions and 30 deletions
|
|
@ -75,6 +75,7 @@ void BotManager::TouchWithKillerEntity (Bot *bot)
|
|||
MDLL_ClientKill (bot->GetEntity ());
|
||||
return;
|
||||
}
|
||||
|
||||
m_killerEntity->v.classname = MAKE_STRING (g_weaponDefs[bot->m_currentWeapon].className);
|
||||
m_killerEntity->v.dmg_inflictor = bot->GetEntity ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue