diff options
author | Tobias Gunkel | 2012-01-29 06:20:16 +0100 |
---|---|---|
committer | Tobias Gunkel | 2012-02-11 08:29:47 +0100 |
commit | e33d41035cfbdf81c0178730bec1ed3eb36d7ef7 (patch) | |
tree | df11791ad5e7fecda0e8fd834f9824c8bfb4e350 | |
parent | cc68a598564285b6f303f90304891f0beef7f1e4 (diff) | |
download | scummvm-rg350-e33d41035cfbdf81c0178730bec1ed3eb36d7ef7.tar.gz scummvm-rg350-e33d41035cfbdf81c0178730bec1ed3eb36d7ef7.tar.bz2 scummvm-rg350-e33d41035cfbdf81c0178730bec1ed3eb36d7ef7.zip |
SCUMM: scumm_vars 14 to 16 are not handled specially in v0
Reading the manuscript will be fixed by this.
-rw-r--r-- | engines/scumm/script_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/script_v2.cpp b/engines/scumm/script_v2.cpp index 59500deaf5..983bba0914 100644 --- a/engines/scumm/script_v2.cpp +++ b/engines/scumm/script_v2.cpp @@ -412,7 +412,7 @@ void ScummEngine_v2::decodeParseString() { } int ScummEngine_v2::readVar(uint var) { - if (var >= 14 && var <= 16) + if (_game.version >= 1 && var >= 14 && var <= 16) var = _scummVars[var]; assertRange(0, var, _numVariables - 1, "variable (reading)"); |