Fixed SatCom music not starting with immediat SatCom enabled

dev-time-step
krzys-h 2016-02-05 20:38:03 +01:00
parent 91f897057e
commit bdf99f3de5
1 changed files with 3 additions and 3 deletions

View File

@ -551,12 +551,12 @@ void CRobotMain::ChangePhase(Phase phase)
m_app->ResetTimeAfterLoading(); m_app->ResetTimeAfterLoading();
m_sound->StopMusic(0.0f);
if (m_base == nullptr || loading) StartMusic();
if (m_immediatSatCom && !loading && if (m_immediatSatCom && !loading &&
m_infoFilename[SATCOM_HUSTON][0] != 0) m_infoFilename[SATCOM_HUSTON][0] != 0)
StartDisplayInfo(SATCOM_HUSTON, false); // shows the instructions StartDisplayInfo(SATCOM_HUSTON, false); // shows the instructions
m_sound->StopMusic(0.0f);
if (m_base == nullptr || loading) StartMusic();
} }
catch (const std::runtime_error& e) catch (const std::runtime_error& e)
{ {