diff options
author | Max Horn | 2003-05-24 22:13:01 +0000 |
---|---|---|
committer | Max Horn | 2003-05-24 22:13:01 +0000 |
commit | 4cda099c575e15ff68239746f3b2076b1aad432f (patch) | |
tree | 06f00e490036ba6e98c42a478563328fe929150b /scumm/sound.cpp | |
parent | 1457f95ec8c8151f4e2a8cbd1d4ef64b42fc01b6 (diff) | |
download | scummvm-rg350-4cda099c575e15ff68239746f3b2076b1aad432f.tar.gz scummvm-rg350-4cda099c575e15ff68239746f3b2076b1aad432f.tar.bz2 scummvm-rg350-4cda099c575e15ff68239746f3b2076b1aad432f.zip |
don't use _gameDataPath directly; minor cleanup
svn-id: r7907
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r-- | scumm/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index b52255d673..bbc8ff11ac 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -443,7 +443,7 @@ void Sound::processSfxQueues() { if (act != 0 && (uint) act < 0x80 && !_scumm->_string[0].no_talk_anim) { a = _scumm->derefActor(act, "processSfxQueues"); - if (a->room == _scumm->_currentRoom && (finished || !_endOfMouthSync)) { + if (a->isInCurrentRoom() && (finished || !_endOfMouthSync)) { b = true; if (!finished) b = isMouthSyncOff(_curSoundPos); |