We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c5aaf5 commit fd4fe46Copy full SHA for fd4fe46
Entities/Actor.cpp
@@ -1356,7 +1356,7 @@ void Actor::Update()
1356
if (!m_MovePath.empty())
1357
m_MoveTarget = m_MovePath.front();
1358
// No more path, so check if any more waypoints to make a new path to? This doesn't apply if we're following something
1359
- else if (m_MovePath.empty() && !m_Waypoints.empty() && !m_pMOMoveTarget)
+ else if (m_UpdateMovePath || (m_MovePath.empty() && !m_Waypoints.empty() && !m_pMOMoveTarget))
1360
UpdateMovePath();
1361
// Nope, so just conclude that we must have reached the ultimate AI target set and exit the goto mode
1362
else if (!m_pMOMoveTarget)
0 commit comments