aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-02-22 16:15:49 +0000
committerTravis Howell2004-02-22 16:15:49 +0000
commit244d19523fcf7f3e995cd6fc8160b653d752a22f (patch)
tree4e49002a09b083bc1f3727160637d93926360825 /scumm
parent95831a2d5b7ad649fca37772a98f78f49c90b692 (diff)
downloadscummvm-rg350-244d19523fcf7f3e995cd6fc8160b653d752a22f.tar.gz
scummvm-rg350-244d19523fcf7f3e995cd6fc8160b653d752a22f.tar.bz2
scummvm-rg350-244d19523fcf7f3e995cd6fc8160b653d752a22f.zip
Correct extra slow subtitles in zak/maniac with old saves.
svn-id: r12991
Diffstat (limited to 'scumm')
-rw-r--r--scumm/saveload.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp
index e4159a3ed4..b0f08e1d16 100644
--- a/scumm/saveload.cpp
+++ b/scumm/saveload.cpp
@@ -179,9 +179,13 @@ bool ScummEngine::loadState(int slot, bool compat, SaveFileManager *mgr) {
if (_screenTop < 0)
_screenTop = 0;
- // For a long time, we used incorrect location, causing it to default to zero.
- if (hdr.ver < VER(30) && _version == 8)
- _scummVars[VAR_CHARINC] = (_features & GF_DEMO) ? 3 : 1;
+ if (hdr.ver < VER(30)) {
+ // For a long time, we used incorrect location, causing it to default to zero.
+ if (_version == 8)
+ _scummVars[VAR_CHARINC] = (_features & GF_DEMO) ? 3 : 1;
+ // Needed due to subtitle speed changes
+ _defaultTalkDelay /= 20;
+ }
// For a long time, we used incorrect locations for some camera related
// scumm vars. We now know the proper locations. To be able to properly use