mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-24 02:41:33 +00:00
Fix playing explore music after loading the game from main menu
This commit is contained in:
parent
e3f891c0b0
commit
6db4b78dcb
1 changed files with 2 additions and 1 deletions
|
@ -183,6 +183,7 @@ namespace MWMechanics
|
||||||
private:
|
private:
|
||||||
enum class MusicType
|
enum class MusicType
|
||||||
{
|
{
|
||||||
|
Title,
|
||||||
Explore,
|
Explore,
|
||||||
Battle
|
Battle
|
||||||
};
|
};
|
||||||
|
@ -198,7 +199,7 @@ namespace MWMechanics
|
||||||
float mSneakSkillTimer = 0; // Times sneak skill progress from "avoid notice"
|
float mSneakSkillTimer = 0; // Times sneak skill progress from "avoid notice"
|
||||||
float mActorsProcessingRange;
|
float mActorsProcessingRange;
|
||||||
bool mSmoothMovement;
|
bool mSmoothMovement;
|
||||||
MusicType mCurrentMusic = MusicType::Explore;
|
MusicType mCurrentMusic = MusicType::Title;
|
||||||
|
|
||||||
void updateVisibility (const MWWorld::Ptr& ptr, CharacterController& ctrl);
|
void updateVisibility (const MWWorld::Ptr& ptr, CharacterController& ctrl);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue