From 8b34cb4a6a95180758c0fcfbc1ce65934f0c0cb0 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 30 Aug 2004 09:43:21 +0000 Subject: [PATCH] HE 7.0+ games don'yt use imuse svn-id: r14837 --- scumm/scumm.cpp | 4 ++-- scumm/sound.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 17188708554..11d8534c1cc 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -884,7 +884,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS _musicEngine = NULL; } else if (((_midiDriver == MD_PCJR) || (_midiDriver == MD_PCSPK)) && ((_version > 2) && (_version < 5))) { _musicEngine = new Player_V2(this, _midiDriver != MD_PCSPK); - } else if (_version > 2) { + } else if (_version > 2 && _heversion <= 60) { MidiDriver *driver = GameDetector::createMidi(_midiDriver); if (driver && _native_mt32) driver->property (MidiDriver::PROP_CHANNEL_MASK, 0x03FE); @@ -1104,7 +1104,7 @@ void ScummEngine::launch() { else if (_gameId == GID_WATER) _numActors = 61; else - _numActors = 13; + _numActors = 80; if (_version >= 7) OF_OWNER_ROOM = 0xFF; diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 5284db1084e..e91e55c57b3 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -756,8 +756,8 @@ int Sound::isSoundRunning(int sound) const { // ID number of the first active music it finds. if (_currentMusic) return (_musicChannelHandle.isActive()) ? 1 : 0; - else - return _vm->_imuse->getSoundStatus(sound); + else if (_vm->_imuse) + return (_vm->_imuse->getSoundStatus(sound)); } }