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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue