Music should not be played after changing scene if it's disabled from the options

svn-id: r28347
This commit is contained in:
Filippos Karapetis 2007-07-31 00:52:00 +00:00
parent 9a125828b9
commit 2707e3a7e8

View File

@ -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) {