diff options
author | Eric Fry | 2018-07-04 23:13:09 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 3fca484ae5e485935bf729926641cccba5733050 (patch) | |
tree | e64c9642aa5e7d74c2288a6202d90eda8a2a6bea /engines/illusions | |
parent | 71edfa3f0af96847a15c58ee5d6d9df25867c7df (diff) | |
download | scummvm-rg350-3fca484ae5e485935bf729926641cccba5733050.tar.gz scummvm-rg350-3fca484ae5e485935bf729926641cccba5733050.tar.bz2 scummvm-rg350-3fca484ae5e485935bf729926641cccba5733050.zip |
ILLUSIONS: Pan talk thread audio when using a named position
Diffstat (limited to 'engines/illusions')
-rw-r--r-- | engines/illusions/threads/talkthread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/illusions/threads/talkthread.cpp b/engines/illusions/threads/talkthread.cpp index c7f7a67b0e..9966308107 100644 --- a/engines/illusions/threads/talkthread.cpp +++ b/engines/illusions/threads/talkthread.cpp @@ -146,8 +146,8 @@ int TalkThread::onUpdate() { if (!(_flags & 4)) { int16 panX = 0; if (_namedPointId) { - // TODO pt.x = (unsigned int)artcntrlGetNamedPointPosition((Point)_namedPointId); - // TODO panX = convertPanXCoord(pt.x); + Common::Point pt = _vm->getNamedPointPosition(_namedPointId); + panX = _vm->convertPanXCoord(pt.x); } _vm->_soundMan->startVoice(255, panX); } |