aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2003-07-06 07:17:50 +0000
committerTravis Howell2003-07-06 07:17:50 +0000
commitbdbd7c98bfc7b4475b26c2e71bb9bd57885ef621 (patch)
treef7e30e128699dbef2581b6a3d3b284f62866688f
parent81871c5ad02cab6839a15dd4ea0822488b0e991c (diff)
downloadscummvm-rg350-bdbd7c98bfc7b4475b26c2e71bb9bd57885ef621.tar.gz
scummvm-rg350-bdbd7c98bfc7b4475b26c2e71bb9bd57885ef621.tar.bz2
scummvm-rg350-bdbd7c98bfc7b4475b26c2e71bb9bd57885ef621.zip
Add back change that got lost on last two commits
svn-id: r8795
-rw-r--r--scumm/sound.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 9a02877b92..3dbcf7c49c 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -471,7 +471,9 @@ void Sound::playSound(int soundID) {
// This hack relays on the fact that we currently don't support SFX
// in these games, only music. Once we add SFX support, we'll have to
// revise it / replace it by a proper fix.
- if (ptr) {
+ if (_scumm->_features & GF_AMIGA)
+ return;
+ else if (ptr) {
_scumm->_imuse->stop_all_sounds();
}
}