1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-31 15:06:39 +00:00

Merge branch 'fix_explore_music' into 'master'

Fix playing explore music after loading the game from main menu (#6769)

Closes #6769

See merge request OpenMW/openmw!1907
This commit is contained in:
AnyOldName3 2022-05-23 00:35:46 +00:00
commit 02cfb7e258

View file

@ -183,6 +183,7 @@ namespace MWMechanics
private:
enum class MusicType
{
Title,
Explore,
Battle
};
@ -198,7 +199,7 @@ namespace MWMechanics
float mSneakSkillTimer = 0; // Times sneak skill progress from "avoid notice"
float mActorsProcessingRange;
bool mSmoothMovement;
MusicType mCurrentMusic = MusicType::Explore;
MusicType mCurrentMusic = MusicType::Title;
void updateVisibility (const MWWorld::Ptr& ptr, CharacterController& ctrl);