From 3fca484ae5e485935bf729926641cccba5733050 Mon Sep 17 00:00:00 2001 From: Eric Fry Date: Wed, 4 Jul 2018 23:13:09 +1000 Subject: ILLUSIONS: Pan talk thread audio when using a named position --- engines/illusions/threads/talkthread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/illusions') 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); } -- cgit v1.2.3