Skip to content

Commit fe59de9

Browse files
committed
Reduced stumbling dramatically
1 parent a7cd3f0 commit fe59de9

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Entities/LimbPath.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#include "PresetMan.h"
1717
#include "SLTerrain.h"
1818

19+
#include "PrimitiveMan.h"
20+
1921
namespace RTE {
2022

2123
ConcreteClassInfo(LimbPath, Entity, 20);
@@ -413,13 +415,6 @@ void LimbPath::ReportProgress(const Vector &limbPos)
413415
m_SegProgress = distance > segMag ? 0.0F : (1.0F - (distance / segMag));
414416
m_Ended = false;
415417
}
416-
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-
}
423418
}
424419
}
425420

0 commit comments

Comments
 (0)