removed bad code bits from pathfinding

fixed too long duck pressing in combat
restore bits of player avoidance code
This commit is contained in:
Dmitry 2015-06-06 14:19:19 +03:00
commit 1b1ae9ea91
7 changed files with 196 additions and 207 deletions

View file

@ -3390,7 +3390,7 @@ void Bot::RunTask (void)
destIndex = FindGoal ();
m_prevGoalIndex = destIndex;
m_chosenGoalIndex = destIndex;
m_chosenGoalIndex = destIndex;
// remember index
GetTask ()->data = destIndex;