diff options
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r-- | scumm/script_v7he.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp index 8029341a04..ef0f1addd5 100644 --- a/scumm/script_v7he.cpp +++ b/scumm/script_v7he.cpp @@ -509,9 +509,9 @@ void ScummEngine_v70he::o70_getActorRoom() { } void ScummEngine_v70he::o70_resourceRoutines() { - int objidx, resid, subOp; + int objidx, resid; - subOp = fetchScriptByte(); + byte subOp = fetchScriptByte(); switch (subOp) { case 100: // SO_LOAD_SCRIPT @@ -1086,9 +1086,9 @@ void ScummEngine_v70he::o70_setFilePath() { } void ScummEngine_v70he::o70_setWindowCaption() { - int num = fetchScriptByte(); + byte subOp = fetchScriptByte(); int len = resStrLen(_scriptPointer); - debug(1,"stub o70_setWindowCaption(%d, \"%s\")", num, _scriptPointer); + debug(1,"stub o70_setWindowCaption(%d, \"%s\")", subOp, _scriptPointer); _scriptPointer += len + 1; } |