Skip to content

Commit f2945d0

Browse files
committed
Comment out difference trajectory assert
1 parent 3b301ef commit f2945d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Source/System/Atom.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,9 @@ int Atom::Travel(float travelTime, bool autoTravel, bool scenePreLocked) {
710710

711711
delta[X] = std::floor(position.m_X + segTraj.m_X) - intPos[X];
712712
delta[Y] = std::floor(position.m_Y + segTraj.m_Y) - intPos[Y];
713-
RTEAssert(std::abs(delta[X]) < 2500 && std::abs(delta[Y] < 2500), "Extremely long difference trajectory found during Atom::Travel. Owner is " + m_OwnerMO->GetPresetName() + ", with Vel (" + std::to_string(velocity.GetX()) + ", " + std::to_string(velocity.GetY()) + ").");
713+
714+
// This tends to trigger a lot. It shouldn't, and ought to be properly fixed, but... TODO
715+
//RTEAssert(std::abs(delta[X]) < 2500 && std::abs(delta[Y] < 2500), "Extremely long difference trajectory found during Atom::Travel. Owner is " + m_OwnerMO->GetPresetName() + ", with Vel (" + std::to_string(velocity.GetX()) + ", " + std::to_string(velocity.GetY()) + ").");
714716

715717
// segProgress = 0.0F;
716718
// delta2[X] = 0;

0 commit comments

Comments
 (0)