mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Fully reset the music before starting the next track
This commit is contained in:
parent
3a57746ee4
commit
e8e8d3fb1b
@ -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…
x
Reference in New Issue
Block a user