aim: force offset-based enemy part detection in hearing code
fix: engine pvs checking isn't do anything
This commit is contained in:
parent
94fcb8b5b5
commit
4743d52d96
2 changed files with 4 additions and 4 deletions
|
|
@ -4042,7 +4042,7 @@ void Bot::updateHearing () {
|
|||
}
|
||||
|
||||
// check if heard enemy can be seen
|
||||
if (checkBodyParts (m_hearedEnemy)) {
|
||||
if (checkBodyPartsWithOffsets (m_hearedEnemy)) {
|
||||
m_enemy = m_hearedEnemy;
|
||||
m_lastEnemy = m_hearedEnemy;
|
||||
m_lastEnemyOrigin = m_enemyOrigin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue