mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
remove redundant mMusicFader variable
This commit is contained in:
parent
60a7d3d6e0
commit
7b8278ae45
2 changed files with 1 additions and 3 deletions
|
@ -336,10 +336,9 @@ namespace MWSound
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
mMusicFader = 0.5f;
|
|
||||||
mNextMusic = filename;
|
mNextMusic = filename;
|
||||||
|
|
||||||
mMusic->setFadeout(mMusicFader);
|
mMusic->setFadeout(0.5f);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SoundManager::streamMusic(const std::string& filename)
|
void SoundManager::streamMusic(const std::string& filename)
|
||||||
|
|
|
@ -121,7 +121,6 @@ namespace MWSound
|
||||||
void updateWaterSound(float duration);
|
void updateWaterSound(float duration);
|
||||||
void updateMusic(float duration);
|
void updateMusic(float duration);
|
||||||
|
|
||||||
float mMusicFader;
|
|
||||||
std::string mNextMusic;
|
std::string mNextMusic;
|
||||||
|
|
||||||
float volumeFromType(PlayType type) const;
|
float volumeFromType(PlayType type) const;
|
||||||
|
|
Loading…
Reference in a new issue