diff options
Diffstat (limited to 'engines/cruise/function.cpp')
-rw-r--r-- | engines/cruise/function.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp index db7d1eb167..10d05de46c 100644 --- a/engines/cruise/function.cpp +++ b/engines/cruise/function.cpp @@ -209,8 +209,8 @@ int16 Op_PlayFX(void) { if (speed == -1) speed = filesDatabase[sampleNum].subData.transparency; - _vm->sound().startSound(channelNum, filesDatabase[sampleNum].subData.ptr, - filesDatabase[sampleNum].width, speed, volume, false); + _vm->sound().playSound(channelNum, filesDatabase[sampleNum].subData.ptr, + filesDatabase[sampleNum].width, volume); } return (0); @@ -226,8 +226,8 @@ int16 Op_LoopFX(void) { if (speed == -1) speed = filesDatabase[sampleNum].subData.transparency; - _vm->sound().startSound(channelNum, filesDatabase[sampleNum].subData.ptr, - filesDatabase[sampleNum].width, speed, volume, true); + _vm->sound().playSound(channelNum, filesDatabase[sampleNum].subData.ptr, + filesDatabase[sampleNum].width, volume); } return (0); |