aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-07-15 23:15:13 +0000
committerTravis Howell2004-07-15 23:15:13 +0000
commitefbd2fe42feacbcc93a72932aadb35af8d8bd512 (patch)
tree4c777a0e29635b01e253658003bfd4ebb67ff0b6 /scumm/string.cpp
parent85124a75e388c4f6edac12ca07e8a3f1e615a447 (diff)
downloadscummvm-rg350-efbd2fe42feacbcc93a72932aadb35af8d8bd512.tar.gz
scummvm-rg350-efbd2fe42feacbcc93a72932aadb35af8d8bd512.tar.bz2
scummvm-rg350-efbd2fe42feacbcc93a72932aadb35af8d8bd512.zip
Use VAR_DEFAULT_TALK_DELAY
svn-id: r14220
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 70b3cb0aa6..a580c481a8 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -155,8 +155,11 @@ void ScummEngine::CHARSET_1() {
}
// Always set to 60
- _talkDelay = 60;
-
+ if (_version <= 6)
+ _talkDelay = 60;
+ else
+ _talkDelay = VAR(VAR_DEFAULT_TALK_DELAY);
+
if (!_keepText) {
_charset->restoreCharsetBg();
}