Removed m_checkEndTime

It was disabled some time ago
dev-mp
krzys-h 2014-11-09 19:19:14 +01:00
parent 5394b3fb4a
commit bfdc577547
2 changed files with 1 additions and 5 deletions

View File

@ -645,7 +645,6 @@ CRobotMain::CRobotMain(CApplication* app, bool loadProfile)
m_time = 0.0f; m_time = 0.0f;
m_gameTime = 0.0f; m_gameTime = 0.0f;
m_checkEndTime = 0.0f;
m_missionTimerEnabled = false; m_missionTimerEnabled = false;
m_missionTimerStarted = false; m_missionTimerStarted = false;
@ -3553,9 +3552,8 @@ bool CRobotMain::EventFrame(const Event &event)
if (m_phase == PHASE_SIMUL) if (m_phase == PHASE_SIMUL)
{ {
if (!m_editLock /*&& m_checkEndTime+1.0f < m_time*/) if (!m_editLock)
{ {
m_checkEndTime = m_time;
CheckEndMission(true); CheckEndMission(true);
UpdateAudio(true); UpdateAudio(true);
} }
@ -4739,7 +4737,6 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject)
m_app->ResetKeyStates(); m_app->ResetKeyStates();
m_time = 0.0f; m_time = 0.0f;
m_gameTime = 0.0f; m_gameTime = 0.0f;
m_checkEndTime = 0.0f;
m_infoUsed = 0; m_infoUsed = 0;
m_selectObject = sel; m_selectObject = sel;

View File

@ -468,7 +468,6 @@ protected:
float m_time; float m_time;
float m_gameTime; float m_gameTime;
float m_checkEndTime;
float m_winDelay; float m_winDelay;
float m_lostDelay; float m_lostDelay;
bool m_fixScene; // scene fixed, no interraction bool m_fixScene; // scene fixed, no interraction