aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorMax Horn2003-03-07 21:38:46 +0000
committerMax Horn2003-03-07 21:38:46 +0000
commit7ec34ab1a971a183ab68ff175d2b848a840b5266 (patch)
tree430f669754106e15b960ee000a9b67c6f5c9c4d8 /scumm/sound.cpp
parentbdd2c50af9fb208dcb40692f8d2d5bf67ee0ab53 (diff)
downloadscummvm-rg350-7ec34ab1a971a183ab68ff175d2b848a840b5266.tar.gz
scummvm-rg350-7ec34ab1a971a183ab68ff175d2b848a840b5266.tar.bz2
scummvm-rg350-7ec34ab1a971a183ab68ff175d2b848a840b5266.zip
refactored some stuff (and made readMAXS virtual, with V2/V3 code having own implementations); cleaned up V6 array shuffle code; made more Scumm member vars/methods protected
svn-id: r6751
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index d455d48b8f..7ec6524227 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -759,6 +759,8 @@ void Sound::pauseSounds(bool pause) {
se->pause(pause);
// Don't pause sounds if the game isn't active
+ // FIXME - this is quite a nasty hack, replace with something cleaner, and w/o
+ // having to access member vars directly!
if (!_scumm->_roomResource)
return;