fix: hide chatter icon even for players that changed team
fix: mark bot as finished buying on csdm spawn (ref #734) fix: do not start any map analysis if already analyzing (ref #726) combat: improved head/body aiming (ref #734)
This commit is contained in:
parent
b083e872e0
commit
6604145481
6 changed files with 53 additions and 19 deletions
|
|
@ -441,12 +441,12 @@ void Bot::setAimDirection () {
|
|||
|
||||
// don't switch view right away after loosing focus with current enemy
|
||||
if ((m_shootTime + rg (0.75f, 1.25f) > game.time ()
|
||||
|| m_seeEnemyTime + 1.5f > game.time ())
|
||||
|| m_seeEnemyTime + rg (1.0f, 1.25f) > game.time ())
|
||||
|
||||
&& m_forgetLastVictimTimer.elapsed ()
|
||||
&& !m_lastEnemyOrigin.empty ()
|
||||
&& util.isAlive (m_lastEnemy)
|
||||
&& game.isNullEntity (m_enemy)) {
|
||||
&& util.isPlayer (m_lastEnemy)
|
||||
&& !util.isPlayer (m_enemy)) {
|
||||
|
||||
flags |= AimFlags::LastEnemy;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue