Fix bug (?) related to lost cutscenes

This was here since the original game, probably unused but I fixed it anyway
dev-buzzingcars
krzys-h 2016-12-27 15:21:49 +01:00
parent 8d52e27c2b
commit 5722fdb163
1 changed files with 1 additions and 2 deletions

View File

@ -2589,7 +2589,7 @@ bool CRobotMain::EventFrame(const Event &event)
if (m_lostDelay <= 0.0f) if (m_lostDelay <= 0.0f)
{ {
if (m_movieLock) if (m_movieLock)
m_winDelay = 1.0f; m_lostDelay = 1.0f;
else else
m_eventQueue->AddEvent(Event(EVENT_LOST)); m_eventQueue->AddEvent(Event(EVENT_LOST));
} }
@ -5054,7 +5054,6 @@ Error CRobotMain::CheckEndMission(bool frame)
Error result = ProcessEndMissionTake(); Error result = ProcessEndMissionTake();
if (result != ERR_MISSION_NOTERM) return result; if (result != ERR_MISSION_NOTERM) return result;
} }
// Take action depending on m_missionResult // Take action depending on m_missionResult
if (m_missionResult == INFO_LOSTq) if (m_missionResult == INFO_LOSTq)