mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 08:53:51 +00:00
Music should not be played after changing scene if it's disabled from the options
svn-id: r28347
This commit is contained in:
parent
9a125828b9
commit
2707e3a7e8
@ -431,6 +431,10 @@ void Music::play(uint32 resourceId, MusicFlags flags) {
|
||||
_player->stopMusic();
|
||||
_mixer->stopHandle(_musicHandle);
|
||||
|
||||
if (!_vm->_musicVolume) {
|
||||
return;
|
||||
}
|
||||
|
||||
int realTrackNumber;
|
||||
|
||||
if (_vm->getGameType() == GType_ITE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user