combat: do not retreat at all when with knife
This commit is contained in:
parent
21db11d071
commit
d05b6c8507
1 changed files with 1 additions and 2 deletions
|
|
@ -1393,10 +1393,9 @@ void Bot::attackMovement () {
|
|||
}
|
||||
|
||||
// only take cover when bomb is not planted and enemy can see the bot or the bot is VIP
|
||||
if (!game.is (GameFlags::CSDM)) {
|
||||
if (!game.is (GameFlags::CSDM) && !isKnifeMode ()) {
|
||||
if ((m_states & Sense::SeeingEnemy)
|
||||
&& approach < 30
|
||||
&& !isKnifeMode ()
|
||||
&& !bots.isBombPlanted ()
|
||||
&& (isInViewCone (m_enemy->v.origin) || m_isVIP)) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue