From bdf99f3de5d1f039138aba3772254a636fb52ada Mon Sep 17 00:00:00 2001 From: krzys-h Date: Fri, 5 Feb 2016 20:38:03 +0100 Subject: [PATCH] Fixed SatCom music not starting with immediat SatCom enabled --- src/level/robotmain.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/level/robotmain.cpp b/src/level/robotmain.cpp index deb61c9b..99886f4a 100644 --- a/src/level/robotmain.cpp +++ b/src/level/robotmain.cpp @@ -551,12 +551,12 @@ void CRobotMain::ChangePhase(Phase phase) m_app->ResetTimeAfterLoading(); + m_sound->StopMusic(0.0f); + if (m_base == nullptr || loading) StartMusic(); + if (m_immediatSatCom && !loading && m_infoFilename[SATCOM_HUSTON][0] != 0) StartDisplayInfo(SATCOM_HUSTON, false); // shows the instructions - - m_sound->StopMusic(0.0f); - if (m_base == nullptr || loading) StartMusic(); } catch (const std::runtime_error& e) {