aim: remove redundant code
This commit is contained in:
parent
dd1adab3b6
commit
5d5c3a5b23
1 changed files with 0 additions and 5 deletions
|
|
@ -307,11 +307,6 @@ bool Bot::lookupEnemies () {
|
|||
continue;
|
||||
}
|
||||
|
||||
// extra skill player can see through smoke... if beeing attacked
|
||||
if (m_difficulty == Difficulty::Expert && (player->v.button & (IN_ATTACK | IN_ATTACK2)) && m_viewDistance < m_maxViewDistance) {
|
||||
nearestDistance = cr::sqrf (m_maxViewDistance);
|
||||
}
|
||||
|
||||
// see if bot can see the player...
|
||||
if (seesEnemy (player)) {
|
||||
// low priority fo shielded enemies
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue