disabled reset state while change bundle disks

svn-id: r13741
This commit is contained in:
Paweł Kołodziejski 2004-05-02 13:06:40 +00:00
parent 6c682fcfba
commit 7701fece20

View File

@ -230,9 +230,9 @@ bool ImuseDigiSndMgr::openMusicBundle(int slot) {
char musicfile[20];
sprintf(musicfile, "musdisk%d.bun", _vm->VAR(_vm->VAR_CURRENTDISK));
if (_disk != _vm->VAR(_vm->VAR_CURRENTDISK)) {
_vm->_imuseDigital->parseScriptCmds(0x1000, 0, 0, 0, 0, 0, 0, 0);
_vm->_imuseDigital->parseScriptCmds(0x2000, 0, 0, 0, 0, 0, 0, 0);
_vm->_imuseDigital->stopAllSounds();
// _vm->_imuseDigital->parseScriptCmds(0x1000, 0, 0, 0, 0, 0, 0, 0);
// _vm->_imuseDigital->parseScriptCmds(0x2000, 0, 0, 0, 0, 0, 0, 0);
// _vm->_imuseDigital->stopAllSounds();
_sounds[slot].bundle->closeFile();
}
@ -261,9 +261,9 @@ bool ImuseDigiSndMgr::openVoiceBundle(int slot) {
char voxfile[20];
sprintf(voxfile, "voxdisk%d.bun", _vm->VAR(_vm->VAR_CURRENTDISK));
if (_disk != _vm->VAR(_vm->VAR_CURRENTDISK)) {
_vm->_imuseDigital->parseScriptCmds(0x1000, 0, 0, 0, 0, 0, 0, 0);
_vm->_imuseDigital->parseScriptCmds(0x2000, 0, 0, 0, 0, 0, 0, 0);
_vm->_imuseDigital->stopAllSounds();
// _vm->_imuseDigital->parseScriptCmds(0x1000, 0, 0, 0, 0, 0, 0, 0);
// _vm->_imuseDigital->parseScriptCmds(0x2000, 0, 0, 0, 0, 0, 0, 0);
// _vm->_imuseDigital->stopAllSounds();
_sounds[slot].bundle->closeFile();
}