fix: allow to plant bomb only when icon blinking (ref #323)
fix: random bots shoots and enemy ignorance on es_industrial (ref #323)
This commit is contained in:
parent
b56a598876
commit
9201daf9f9
8 changed files with 19 additions and 14 deletions
|
|
@ -176,7 +176,7 @@ void Bot::normal_ () {
|
|||
pushChatterMessage (Chatter::GoingToGuardVIPSafety); // play info about that
|
||||
}
|
||||
}
|
||||
else if (game.mapIs (MapFlags::Demolition) && ((m_pathFlags & NodeFlag::Goal) || m_inBombZone)) {
|
||||
else if (game.mapIs (MapFlags::Demolition) && ((m_pathFlags & NodeFlag::Goal) && m_inBombZone)) {
|
||||
// is it a terrorist carrying the bomb?
|
||||
if (m_hasC4) {
|
||||
if ((m_states & Sense::SeeingEnemy) && numFriendsNear (pev->origin, 768.0f) == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue