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 a7cd3f0 commit fe59de9Copy full SHA for fe59de9
Entities/LimbPath.cpp
@@ -16,6 +16,8 @@
16
#include "PresetMan.h"
17
#include "SLTerrain.h"
18
19
+#include "PrimitiveMan.h"
20
+
21
namespace RTE {
22
23
ConcreteClassInfo(LimbPath, Entity, 20);
@@ -413,13 +415,6 @@ void LimbPath::ReportProgress(const Vector &limbPos)
413
415
m_SegProgress = distance > segMag ? 0.0F : (1.0F - (distance / segMag));
414
416
m_Ended = false;
417
}
-
- // Make sure we're not stuck on one segment, time that it isn't taking unreasonably long, and restart the path if it seems stuck
418
- if (!m_Ended && m_SegTimer.IsPastSimMS(((segMag * c_MPP) / GetSpeed()) * 1000 * 2))
419
-// if (!m_Ended && m_SegTimer.IsPastSimMS(333))
420
- {
421
- Terminate();
422
- }
423
424
425
0 commit comments