aim: remeber last edict for whom head spot was set
... so the bots will not shake their crosshair between chest and head when fighting acquired/current enemy
This commit is contained in:
parent
0b119c0389
commit
1736bd9c8a
3 changed files with 11 additions and 1 deletions
|
|
@ -1476,6 +1476,7 @@ void Bot::newRound () {
|
|||
m_lastEnemyOrigin = nullptr;
|
||||
m_lastVictimOrigin = nullptr;
|
||||
m_trackingEdict = nullptr;
|
||||
m_enemyBodyPartSet = nullptr;
|
||||
m_timeNextTracking = 0.0f;
|
||||
|
||||
m_buttonPushTime = 0.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue