[colobot] 30/100: Fix bug (?) related to lost cutscenes

Didier Raboud odyx at moszumanska.debian.org
Thu Jun 1 18:10:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository colobot.

commit 5722fdb163b92ce38f613215bfdfdf39966d7e3d
Author: krzys-h <krzys_h at interia.pl>
Date:   Tue Dec 27 15:21:49 2016 +0100

    Fix bug (?) related to lost cutscenes
    
    This was here since the original game, probably unused but I fixed it anyway
---
 src/level/robotmain.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/level/robotmain.cpp b/src/level/robotmain.cpp
index b1be119..0918d33 100644
--- a/src/level/robotmain.cpp
+++ b/src/level/robotmain.cpp
@@ -2589,7 +2589,7 @@ bool CRobotMain::EventFrame(const Event &event)
             if (m_lostDelay <= 0.0f)
             {
                 if (m_movieLock)
-                    m_winDelay = 1.0f;
+                    m_lostDelay = 1.0f;
                 else
                     m_eventQueue->AddEvent(Event(EVENT_LOST));
             }
@@ -5054,7 +5054,6 @@ Error CRobotMain::CheckEndMission(bool frame)
         Error result = ProcessEndMissionTake();
         if (result != ERR_MISSION_NOTERM) return result;
     }
-
     // Take action depending on m_missionResult
 
     if (m_missionResult == INFO_LOSTq)

-- 
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