aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/threads
diff options
context:
space:
mode:
authorEric Fry2018-06-19 22:33:09 +1000
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commitdc9dc0324e2e009092f6c042cd7351362f076c1d (patch)
tree87ad799cda9e5136d7f9122111fa5982437073a5 /engines/illusions/threads
parent7e4a1c2bf11d18907d4a0a52a0f144eca6ee2bee (diff)
downloadscummvm-rg350-dc9dc0324e2e009092f6c042cd7351362f076c1d.tar.gz
scummvm-rg350-dc9dc0324e2e009092f6c042cd7351362f076c1d.tar.bz2
scummvm-rg350-dc9dc0324e2e009092f6c042cd7351362f076c1d.zip
ILLUSIONS: Wire up subtitle text duration config slider
Diffstat (limited to 'engines/illusions/threads')
-rw-r--r--engines/illusions/threads/talkthread.cpp2
-rw-r--r--engines/illusions/threads/talkthread_duckman.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/illusions/threads/talkthread.cpp b/engines/illusions/threads/talkthread.cpp
index 5b54abc583..9e94ef64cc 100644
--- a/engines/illusions/threads/talkthread.cpp
+++ b/engines/illusions/threads/talkthread.cpp
@@ -60,7 +60,7 @@ TalkThread::TalkThread(IllusionsEngine *vm, uint32 threadId, uint32 callingThrea
_flags = 0x0E;
- _durationMult = _vm->clipTextDuration(_vm->_fieldE);
+ _durationMult = _vm->clipTextDuration(_vm->getSubtitleDuration());
_textDuration = _durationMult;
_defDurationMult = _vm->clipTextDuration(240);
_textStartTime = 0;
diff --git a/engines/illusions/threads/talkthread_duckman.cpp b/engines/illusions/threads/talkthread_duckman.cpp
index 2d6c455b1c..42d9747810 100644
--- a/engines/illusions/threads/talkthread_duckman.cpp
+++ b/engines/illusions/threads/talkthread_duckman.cpp
@@ -56,7 +56,7 @@ TalkThread_Duckman::TalkThread_Duckman(IllusionsEngine_Duckman *vm, uint32 threa
else
_status = 2;
- _durationMult = _vm->clipTextDuration(_vm->_fieldE);
+ _durationMult = _vm->clipTextDuration(_vm->_subtitleDuration);
_textDuration = _durationMult;
_defDurationMult = _vm->clipTextDuration(240);