aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/function.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2009-06-23 01:01:16 +0000
committerPaul Gilbert2009-06-23 01:01:16 +0000
commit510700b0860e2f109deadcc2523b1232399085ea (patch)
tree475aff17d4b62b36e060ed29b39a12b488be82c0 /engines/cruise/function.cpp
parentb629b0cc7811877fcc0261b9e86fac1abe9dc495 (diff)
downloadscummvm-rg350-510700b0860e2f109deadcc2523b1232399085ea.tar.gz
scummvm-rg350-510700b0860e2f109deadcc2523b1232399085ea.tar.bz2
scummvm-rg350-510700b0860e2f109deadcc2523b1232399085ea.zip
Bugfixes to keep sound effects to channel #4 like the original (it ignores the channel parameter to the given library routine)
svn-id: r41787
Diffstat (limited to 'engines/cruise/function.cpp')
-rw-r--r--engines/cruise/function.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp
index 10d05de46c..5f65dce913 100644
--- a/engines/cruise/function.cpp
+++ b/engines/cruise/function.cpp
@@ -209,7 +209,7 @@ int16 Op_PlayFX(void) {
if (speed == -1)
speed = filesDatabase[sampleNum].subData.transparency;
- _vm->sound().playSound(channelNum, filesDatabase[sampleNum].subData.ptr,
+ _vm->sound().playSound(filesDatabase[sampleNum].subData.ptr,
filesDatabase[sampleNum].width, volume);
}
@@ -226,7 +226,7 @@ int16 Op_LoopFX(void) {
if (speed == -1)
speed = filesDatabase[sampleNum].subData.transparency;
- _vm->sound().playSound(channelNum, filesDatabase[sampleNum].subData.ptr,
+ _vm->sound().playSound(filesDatabase[sampleNum].subData.ptr,
filesDatabase[sampleNum].width, volume);
}