aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/scumm.cpp4
-rw-r--r--scumm/sound.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 1718870855..11d8534c1c 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 5284db1084..e91e55c57b 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));
}
}