aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-07-23 08:50:16 +0000
committerTravis Howell2004-07-23 08:50:16 +0000
commit28812cae215f0834351c9e1654ec06dd28ac0c80 (patch)
tree96abd170c30eb5a94b3349fbf167ab7b2afe835f /scumm/scumm.cpp
parent3381b831eb59570b9318a7a0179429f39b90df84 (diff)
downloadscummvm-rg350-28812cae215f0834351c9e1654ec06dd28ac0c80.tar.gz
scummvm-rg350-28812cae215f0834351c9e1654ec06dd28ac0c80.tar.bz2
scummvm-rg350-28812cae215f0834351c9e1654ec06dd28ac0c80.zip
Only needed for Zak [ega]
svn-id: r14303
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r--scumm/scumm.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index ee9880cd41..956ce94a1d 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1276,13 +1276,14 @@ void ScummEngine::scummInit() {
void ScummEngine::initScummVars() {
- if (_version <= 2 || _heversion == 70) {
- // This needs to be at least greater than 40 to get the more
- // elaborate version of the EGA Zak into. I don't know where
- // else it makes any difference.
+ // This needs to be at least greater than 40 to get the more
+ // elaborate version of the EGA Zak into. I don't know where
+ // else it makes any difference.
+ if (_gameId == GID_ZAK)
VAR(VAR_MACHINE_SPEED) = 0x7FFF;
+
+ if (_version <= 2)
return;
- }
if (_version >= 4 && _version <= 5)
VAR(VAR_V5_TALK_STRING_Y) = -0x50;