fix: startup on hlds_l 3111e (still needs nosmid)
build: add option to build bot without any smid instructions refactor: fix static analyzer warnings crlib: update submodule (fix double anglevectors call)
This commit is contained in:
parent
3d84b96534
commit
c7c5e0eaf9
14 changed files with 92 additions and 70 deletions
|
|
@ -4057,7 +4057,7 @@ void Bot::updateHearing () {
|
|||
}
|
||||
m_lastEnemyOrigin = getHeardOriginWithError ();
|
||||
}
|
||||
else {
|
||||
else if (m_hearedEnemy != nullptr) {
|
||||
// if bot had an enemy but the heard one is nearer, take it instead
|
||||
const float distanceSq = m_lastEnemyOrigin.distanceSq (pev->origin);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue