From 5722fdb163b92ce38f613215bfdfdf39966d7e3d Mon Sep 17 00:00:00 2001 From: krzys-h Date: Tue, 27 Dec 2016 15:21:49 +0100 Subject: [PATCH] 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 b1be1192..0918d339 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)