aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/script_v8.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-02-13 10:04:17 +0000
committerTravis Howell2009-02-13 10:04:17 +0000
commit501b3215323fac6efbd5cbd5168e6118263f2809 (patch)
tree4a9ee1246fa3eb3142f025e6083b882fb27889b3 /engines/scumm/script_v8.cpp
parent5bf56fe991ef585b554ca836aa5a6ffc44afe67a (diff)
downloadscummvm-rg350-501b3215323fac6efbd5cbd5168e6118263f2809.tar.gz
scummvm-rg350-501b3215323fac6efbd5cbd5168e6118263f2809.tar.bz2
scummvm-rg350-501b3215323fac6efbd5cbd5168e6118263f2809.zip
Revert talkspeed changes, while still only using the game specific talkspeed setting (if it exists). And clarify the talkspeed differences between games in the README.
svn-id: r36299
Diffstat (limited to 'engines/scumm/script_v8.cpp')
-rw-r--r--engines/scumm/script_v8.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/script_v8.cpp b/engines/scumm/script_v8.cpp
index b85f123e8d..ec464feef9 100644
--- a/engines/scumm/script_v8.cpp
+++ b/engines/scumm/script_v8.cpp
@@ -429,10 +429,10 @@ void ScummEngine_v8::writeVar(uint var, int value) {
// look at the target specific settings, assuming that any global
// value is likely to be bogus. See also bug #2251765.
if (ConfMan.hasKey("talkspeed", _targetName)) {
- value = getTalkDelay();
+ value = getTalkSpeed();
} else {
// Save the new talkspeed value to ConfMan
- setTalkDelay(value);
+ setTalkSpeed(value);
}
}