aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/resource_v3.cpp
diff options
context:
space:
mode:
authorMax Horn2011-04-05 13:44:50 +0200
committerMax Horn2011-04-05 15:18:09 +0200
commit7ce3719587cf370b0172dc06f85ded25b3c1f263 (patch)
tree91fd1d5d30a1f64da4a0035c381100136e12bcff /engines/scumm/resource_v3.cpp
parent827561911ac8ca8136ee062908717225947596ea (diff)
downloadscummvm-rg350-7ce3719587cf370b0172dc06f85ded25b3c1f263.tar.gz
scummvm-rg350-7ce3719587cf370b0172dc06f85ded25b3c1f263.tar.bz2
scummvm-rg350-7ce3719587cf370b0172dc06f85ded25b3c1f263.zip
SCUMM: Move _heV7RoomIntOffsets from ScummEngine to ScummEngine_v70he
Diffstat (limited to 'engines/scumm/resource_v3.cpp')
-rw-r--r--engines/scumm/resource_v3.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/scumm/resource_v3.cpp b/engines/scumm/resource_v3.cpp
index 0728395055..5f23720ce9 100644
--- a/engines/scumm/resource_v3.cpp
+++ b/engines/scumm/resource_v3.cpp
@@ -32,7 +32,7 @@ namespace Scumm {
extern const char *resTypeFromId(int id);
-void ScummEngine_v3old::readResTypeList(int id) {
+int ScummEngine_v3old::readResTypeList(int id) {
int num;
int i;
@@ -57,6 +57,8 @@ void ScummEngine_v3old::readResTypeList(int id) {
if (_res->roomoffs[id][i] == 0xFFFF)
_res->roomoffs[id][i] = (uint32)RES_INVALID_OFFSET;
}
+
+ return num;
}
void ScummEngine_v3old::readIndexFile() {