Rework music playback (bug #7172)

This commit is contained in:
Alexei Kotov 2023-01-21 01:16:08 +03:00
parent f0e58d1c59
commit fd6e96576a
5 changed files with 37 additions and 47 deletions

View file

@ -897,7 +897,7 @@ void OMW::Engine::go()
{
// start in main menu
mWindowManager->pushGuiMode(MWGui::GM_MainMenu);
mSoundManager->playTitleMusic();
mSoundManager->playPlaylist("Title");
std::string_view logo = Fallback::Map::getString("Movies_Morrowind_Logo");
if (!logo.empty())
mWindowManager->playVideo(logo, /*allowSkipping*/ true, /*overrideSounds*/ false);