aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-12-26 12:15:23 +0000
committerPaweł Kołodziejski2003-12-26 12:15:23 +0000
commita45e92efed3715b3bb0b1191b718207b191ab1ae (patch)
tree79e58723288257ce0e3e68a434b86f17110330d3 /scumm/script_v8.cpp
parent908fbe2ac563f41b039da0392baa60207331d64d (diff)
downloadscummvm-rg350-a45e92efed3715b3bb0b1191b718207b191ab1ae.tar.gz
scummvm-rg350-a45e92efed3715b3bb0b1191b718207b191ab1ae.tar.bz2
scummvm-rg350-a45e92efed3715b3bb0b1191b718207b191ab1ae.zip
passthrought v7+ sound voices by imuse digital
svn-id: r11939
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r--scumm/script_v8.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 6d4afc2bff..b4675ce533 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -1078,9 +1078,10 @@ void ScummEngine_v8::o8_actorOps() {
// on the current talk channel handle. (If the handle is 0,
// setChannelPan() won't do anything.)
- if (_actorToPrintStrFor == a->number)
- _mixer->setChannelPan(_sound->_talkChannelHandle,
- (a->talkPan != 64) ? 2 * a->talkPan - 127 : 0);
+ if (_actorToPrintStrFor == a->number) {
+ if (_sound->isSoundRunning(10000))
+ _imuseDigital->parseScriptCmds(12, 0x700, 10000, a->talkPan, 0, 0, 0, 0);
+ }
break;
default: