bot: some tweaks for zombie mode (ref #664)
This commit is contained in:
parent
e09d75f245
commit
d965d7677f
6 changed files with 45 additions and 5 deletions
|
|
@ -828,7 +828,7 @@ void Bot::moveToPos_ () {
|
|||
getTask ()->data = destIndex;
|
||||
|
||||
ensureCurrentNodeIndex ();
|
||||
findPath (m_currentNodeIndex, destIndex, m_pathType);
|
||||
findPath (m_currentNodeIndex, destIndex, m_isCreature ? FindPath::Fast : m_pathType);
|
||||
}
|
||||
else {
|
||||
completeTask ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue