1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 22:20:33 +00:00

Fix playing explore music after loading the game from main menu

This commit is contained in:
elsid 2022-05-23 01:08:53 +02:00
parent e3f891c0b0
commit 6db4b78dcb
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

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);