mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-19 18:09:50 +00:00
Fully reset the music before starting the next track
This commit is contained in:
parent
3a57746ee4
commit
e8e8d3fb1b
1 changed files with 1 additions and 2 deletions
|
@ -132,8 +132,7 @@ namespace MWSound
|
|||
std::cout <<"Playing "<<filename<< std::endl;
|
||||
try
|
||||
{
|
||||
if(mMusic)
|
||||
mMusic->stop();
|
||||
stopMusic();
|
||||
mMusic = mOutput->streamSound(filename, 0.4f, 1.0f, Play_NoEnv);
|
||||
mMusic->mBaseVolume = 0.4f;
|
||||
mMusic->mFlags = Play_NoEnv;
|
||||
|
|
Loading…
Reference in a new issue