bot: some tweaks for zombie mode (ref #664)

This commit is contained in:
jeefo 2025-02-17 15:03:38 +03:00
commit d965d7677f
No known key found for this signature in database
GPG key ID: D696786B81B667C8
6 changed files with 45 additions and 5 deletions

View file

@ -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 ();