diff options
author | Max Horn | 2011-05-13 14:02:53 +0200 |
---|---|---|
committer | Max Horn | 2011-05-13 14:02:53 +0200 |
commit | 649f8e0a84804a9d1272ba16b146ea2b9da501fe (patch) | |
tree | 4e257a06140c69abb043d5c9a2eb3d23e5ff9e1b /engines/scumm/he/script_v100he.cpp | |
parent | aaf2c0e6ebe373afd06cbf8ebca334710a4ed15d (diff) | |
download | scummvm-rg350-649f8e0a84804a9d1272ba16b146ea2b9da501fe.tar.gz scummvm-rg350-649f8e0a84804a9d1272ba16b146ea2b9da501fe.tar.bz2 scummvm-rg350-649f8e0a84804a9d1272ba16b146ea2b9da501fe.zip |
SCUMM: Rename ResTypes->ResType, introduce ResId typedef, change code to use both
Diffstat (limited to 'engines/scumm/he/script_v100he.cpp')
-rw-r--r-- | engines/scumm/he/script_v100he.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/scumm/he/script_v100he.cpp b/engines/scumm/he/script_v100he.cpp index 8ff28a1068..b6f92942a1 100644 --- a/engines/scumm/he/script_v100he.cpp +++ b/engines/scumm/he/script_v100he.cpp @@ -2380,7 +2380,8 @@ void ScummEngine_v100he::o100_isResourceLoaded() { void ScummEngine_v100he::o100_getResourceSize() { const byte *ptr; - int size, type; + int size; + ResType type; int resid = pop(); byte subOp = fetchScriptByte(); @@ -2399,7 +2400,7 @@ void ScummEngine_v100he::o100_getResourceSize() { type = rtScript; break; case 72: - push (getSoundResourceSize(resid)); + push(getSoundResourceSize(resid)); return; default: error("o100_getResourceSize: default type %d", subOp); |