diff --git a/LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp b/LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp index 9df6f79e..7b1d4d11 100644 --- a/LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp +++ b/LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp @@ -341,7 +341,7 @@ MxBool LegoNavController::CalculateNewPosDir( MxBool und = FALSE; MxTime currentTime = Timer()->GetTime(); - float deltaTime = (currentTime - m_lastTime) / 1000.0; + float deltaTime = Min((currentTime - m_lastTime) / 1000.0, 1. / 10.); m_lastTime = currentTime; if (ProcessKeyboardInput() == FAILURE) {