Fixed SatCom music not starting with immediat SatCom enabled
parent
91f897057e
commit
bdf99f3de5
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue