diff options
author | Travis Howell | 2004-08-30 09:43:21 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-30 09:43:21 +0000 |
commit | 8b34cb4a6a95180758c0fcfbc1ce65934f0c0cb0 (patch) | |
tree | 6a83da8ac8af5c410aeecbefb49cf29c70116c08 /scumm/sound.cpp | |
parent | ad56456e7b1b9444ec04b1a799d4af15ede15719 (diff) | |
download | scummvm-rg350-8b34cb4a6a95180758c0fcfbc1ce65934f0c0cb0.tar.gz scummvm-rg350-8b34cb4a6a95180758c0fcfbc1ce65934f0c0cb0.tar.bz2 scummvm-rg350-8b34cb4a6a95180758c0fcfbc1ce65934f0c0cb0.zip |
HE 7.0+ games don'yt use imuse
svn-id: r14837
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r-- | scumm/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)); } } |