aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v7he.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-02-05 00:40:48 +0000
committerTravis Howell2006-02-05 00:40:48 +0000
commitdf3d553e321aa01df6357134e7d42c655379dbea (patch)
treeb5d00e987f5192b2b3c7b36298b0be8bc0bb5fe3 /scumm/script_v7he.cpp
parentbdedc81c229793dadcf4f8e7201eeb586073c724 (diff)
downloadscummvm-rg350-df3d553e321aa01df6357134e7d42c655379dbea.tar.gz
scummvm-rg350-df3d553e321aa01df6357134e7d42c655379dbea.tar.bz2
scummvm-rg350-df3d553e321aa01df6357134e7d42c655379dbea.zip
Sync. subOp variable name and always use byte.
svn-id: r20382
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r--scumm/script_v7he.cpp8
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;
}