aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/text_hof.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2010-08-05 14:41:00 +0000
committerJohannes Schickel2010-08-05 14:41:00 +0000
commit9cd333152b763a109cf5b88af508678c1ea3fba7 (patch)
tree177ed509f1af53f79349a784c9dc1415ba9d4f20 /engines/kyra/text_hof.cpp
parentff2ad216b1e4042e8b64323998605d2d83e36427 (diff)
downloadscummvm-rg350-9cd333152b763a109cf5b88af508678c1ea3fba7.tar.gz
scummvm-rg350-9cd333152b763a109cf5b88af508678c1ea3fba7.tar.bz2
scummvm-rg350-9cd333152b763a109cf5b88af508678c1ea3fba7.zip
KYRA: Add support for subtitle options changes via GMM.
svn-id: r51757
Diffstat (limited to 'engines/kyra/text_hof.cpp')
-rw-r--r--engines/kyra/text_hof.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/text_hof.cpp b/engines/kyra/text_hof.cpp
index 48eda97f80..9d20cdd51a 100644
--- a/engines/kyra/text_hof.cpp
+++ b/engines/kyra/text_hof.cpp
@@ -255,7 +255,8 @@ void KyraEngine_HoF::objectChatInit(const char *str, int object, int vocHigh, in
_screen->hideMouse();
- if (textEnabled()) {
+ _chatTextEnabled = textEnabled();
+ if (_chatTextEnabled) {
objectChatPrintText(str, object);
_chatEndTime = _system->getMillis() + chatCalcDuration(str) * _tickLength;
} else {