[colobot] 150/390: Increased mission end accuracy
Didier Raboud
odyx at moszumanska.debian.org
Fri Jun 12 14:21:39 UTC 2015
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch upstream/latest
in repository colobot.
commit 601ea0ec87f1350ce61f7bba0b2821e359972421
Author: krzys-h <krzys_h at interia.pl>
Date: Thu Oct 30 22:26:14 2014 +0100
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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git
More information about the Pkg-games-commits
mailing list