aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/script.cpp
diff options
context:
space:
mode:
authorMax Horn2008-09-17 18:56:13 +0000
committerMax Horn2008-09-17 18:56:13 +0000
commitd4853dd9e84b43cfcc410829625c19c4b9d0b6c6 (patch)
tree82df78edbfb239eca1182feea3b0a578b8d944f0 /engines/scumm/script.cpp
parent468b387b9714f4a9ceea05b6ec505a66d67e1998 (diff)
downloadscummvm-rg350-d4853dd9e84b43cfcc410829625c19c4b9d0b6c6.tar.gz
scummvm-rg350-d4853dd9e84b43cfcc410829625c19c4b9d0b6c6.tar.bz2
scummvm-rg350-d4853dd9e84b43cfcc410829625c19c4b9d0b6c6.zip
Patch #2060517: SCUMM: engine sets incorrect talkspeed value
svn-id: r34596
Diffstat (limited to 'engines/scumm/script.cpp')
-rw-r--r--engines/scumm/script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/script.cpp b/engines/scumm/script.cpp
index c727b59c64..642627d649 100644
--- a/engines/scumm/script.cpp
+++ b/engines/scumm/script.cpp
@@ -625,10 +625,10 @@ void ScummEngine::writeVar(uint var, int value) {
if (var == VAR_CHARINC) {
if (ConfMan.hasKey("talkspeed")) {
- value = getTalkspeed();
+ value = getTalkDelay();
} else {
// Save the new talkspeed value to ConfMan
- setTalkspeed(value);
+ setTalkDelay(value);
}
}