aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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