remove redundant mMusicFader variable

This commit is contained in:
Lennart Bernhardt 2017-08-08 03:17:40 +02:00
parent 60a7d3d6e0
commit 7b8278ae45
2 changed files with 1 additions and 3 deletions

View file

@ -336,10 +336,9 @@ namespace MWSound
return;
}
mMusicFader = 0.5f;
mNextMusic = filename;
mMusic->setFadeout(mMusicFader);
mMusic->setFadeout(0.5f);
}
void SoundManager::streamMusic(const std::string& filename)

View file

@ -121,7 +121,6 @@ namespace MWSound
void updateWaterSound(float duration);
void updateMusic(float duration);
float mMusicFader;
std::string mNextMusic;
float volumeFromType(PlayType type) const;