diff options
author | krzys-h <krzys_h@interia.pl> | 2014-10-30 22:26:14 +0100 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2014-10-30 22:26:14 +0100 |
commit | 601ea0ec87f1350ce61f7bba0b2821e359972421 (patch) | |
tree | f1063d24db389bf89e322df68cbfc8e39afb66a3 /src/object | |
parent | c1f931c8ee301ffb49871ead236b048f168916da (diff) | |
download | colobot-601ea0ec87f1350ce61f7bba0b2821e359972421.tar.gz colobot-601ea0ec87f1350ce61f7bba0b2821e359972421.tar.bz2 colobot-601ea0ec87f1350ce61f7bba0b2821e359972421.zip |
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.
Diffstat (limited to 'src/object')
-rw-r--r-- | src/object/robotmain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |