From 601ea0ec87f1350ce61f7bba0b2821e359972421 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Thu, 30 Oct 2014 22:26:14 +0100 Subject: Increased mission end accuracy It whould now detect mission end immediately. We need somebody with an older computer than mine to make sure it doesn't cause FPS drop. --- src/object/robotmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp index 10e7648..ce6b9c1 100644 --- a/src/object/robotmain.cpp +++ b/src/object/robotmain.cpp @@ -3555,7 +3555,7 @@ bool CRobotMain::EventFrame(const Event &event) if (m_phase == PHASE_SIMUL) { - if (!m_editLock && m_checkEndTime+1.0f < m_time) + if (!m_editLock /*&& m_checkEndTime+1.0f < m_time*/) { m_checkEndTime = m_time; CheckEndMission(true); -- cgit v1.2.3-1-g7c22