aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-08-23 09:25:37 +0000
committerTravis Howell2004-08-23 09:25:37 +0000
commit85addeb67b750718f2d205c743c02a23a3cbaf3f (patch)
treeade9c4d8c68a81ce4664cd45161254ad973e1a61
parentbb5cae10b4bf572776e8b7ad8a718803995ecd24 (diff)
downloadscummvm-rg350-85addeb67b750718f2d205c743c02a23a3cbaf3f.tar.gz
scummvm-rg350-85addeb67b750718f2d205c743c02a23a3cbaf3f.tar.bz2
scummvm-rg350-85addeb67b750718f2d205c743c02a23a3cbaf3f.zip
Oops
svn-id: r14708
-rw-r--r--scumm/script_v7he.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp
index d9a50c223b..274b8b47f2 100644
--- a/scumm/script_v7he.cpp
+++ b/scumm/script_v7he.cpp
@@ -499,9 +499,11 @@ void ScummEngine_v7he::o7_readINI() {
if (_heversion <= 71) {
len = resStrLen(_scriptPointer);
_scriptPointer += len + 1;
+ type = pop();
+ } else {
+ type = fetchScriptByte();
}
- type = fetchScriptByte();
switch (type) {
case 1: // number