aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-12-26 23:05:19 +0000
committerMax Horn2002-12-26 23:05:19 +0000
commitc05a308fad833ec57101a9ec704db0f9b5533fd8 (patch)
tree3ede598960c29179f58022fd949d4b0bd0bfd162
parentc44512ff718e8e20b535892f8de806b1394cd4b7 (diff)
downloadscummvm-rg350-c05a308fad833ec57101a9ec704db0f9b5533fd8.tar.gz
scummvm-rg350-c05a308fad833ec57101a9ec704db0f9b5533fd8.tar.bz2
scummvm-rg350-c05a308fad833ec57101a9ec704db0f9b5533fd8.zip
doSentence only takes three params in V8
svn-id: r6179
-rw-r--r--scumm/script_v6.cpp3
-rw-r--r--scumm/scummvm.cpp4
2 files changed, 4 insertions, 3 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index dda2cec7da..c44477cf01 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -1138,7 +1138,8 @@ void Scumm_v6::o6_doSentence()
int a, b, c;
a = pop();
- pop(); //dummy pop
+ if (!(_features & GF_AFTER_V8))
+ pop(); // dummy pop
b = pop();
c = pop();
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index a5dbe7f053..0a65947d2c 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -1168,13 +1168,13 @@ void Scumm::processKbd()
if (_imuse)
_imuse->set_music_volume (vol);
} else if (_lastKeyHit == '-') { // - text speed down
- _defaultTalkDelay+=5;
+ _defaultTalkDelay += 5;
if (_defaultTalkDelay > 90)
_defaultTalkDelay = 90;
_vars[VAR_CHARINC] = _defaultTalkDelay / 20;
} else if (_lastKeyHit == '+') { // + text speed up
- _defaultTalkDelay-=5;
+ _defaultTalkDelay -= 5;
if (_defaultTalkDelay < 5)
_defaultTalkDelay = 5;