mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 02:09:41 +00:00
Fix music during a new game start
This commit is contained in:
parent
e25e867d77
commit
cbb4c1bb9a
1 changed files with 2 additions and 0 deletions
|
@ -392,7 +392,9 @@ namespace MWWorld
|
|||
std::string_view video = Fallback::Map::getString("Movies_New_Game");
|
||||
if (!video.empty())
|
||||
{
|
||||
// Make sure that we do not continue to play a Title music after a new game video.
|
||||
MWBase::Environment::get().getSoundManager()->stopMusic();
|
||||
MWBase::Environment::get().getSoundManager()->playPlaylist(std::string("Explore"));
|
||||
MWBase::Environment::get().getWindowManager()->playVideo(video, true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue