File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1304,6 +1304,10 @@ void Actor::Update()
1304
1304
// Hit Body update and handling
1305
1305
MOSRotating::Update ();
1306
1306
1307
+ if (m_UpdateMovePath) {
1308
+ UpdateMovePath ();
1309
+ }
1310
+
1307
1311
m_PieMenu->Update ();
1308
1312
1309
1313
// Update the viewpoint to be at least what the position is
@@ -1356,7 +1360,7 @@ void Actor::Update()
1356
1360
if (!m_MovePath.empty ())
1357
1361
m_MoveTarget = m_MovePath.front ();
1358
1362
// 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_UpdateMovePath || ( m_MovePath.empty () && !m_Waypoints.empty () && !m_pMOMoveTarget) )
1363
+ else if (m_MovePath.empty () && !m_Waypoints.empty () && !m_pMOMoveTarget)
1360
1364
UpdateMovePath ();
1361
1365
// Nope, so just conclude that we must have reached the ultimate AI target set and exit the goto mode
1362
1366
else if (!m_pMOMoveTarget)
You can’t perform that action at this time.
0 commit comments