aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
diff options
context:
space:
mode:
authorMax Horn2011-05-11 18:06:30 +0200
committerMax Horn2011-05-13 11:47:10 +0200
commit75b9deb1856bae8355403faa5f55857f3929adb6 (patch)
treee3a12b77289bd2f5cc3a252a9867974a2d1cb965 /engines/scumm/he
parent0af2f71c71e39df2d61dd7cc9faed7c5e6a50fab (diff)
downloadscummvm-rg350-75b9deb1856bae8355403faa5f55857f3929adb6.tar.gz
scummvm-rg350-75b9deb1856bae8355403faa5f55857f3929adb6.tar.bz2
scummvm-rg350-75b9deb1856bae8355403faa5f55857f3929adb6.zip
SCUMM: Get rid of the MemBlkHeader hack
This uncovered at least one potentially serious bug in the inventory code, which still needs to be investigated and fixed.
Diffstat (limited to 'engines/scumm/he')
-rw-r--r--engines/scumm/he/script_v72he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp
index b63feeb580..96ffa2af3b 100644
--- a/engines/scumm/he/script_v72he.cpp
+++ b/engines/scumm/he/script_v72he.cpp
@@ -621,7 +621,7 @@ void ScummEngine_v72he::o72_getArrayDimSize() {
}
void ScummEngine_v72he::o72_getNumFreeArrays() {
- byte **addr = _res->_types[rtString].address;
+ byte **addr = _res->_types[rtString]._address;
int i, num = 0;
for (i = 1; i < _numArray; i++) {
@@ -629,7 +629,7 @@ void ScummEngine_v72he::o72_getNumFreeArrays() {
num++;
}
- push (num);
+ push(num);
}
void ScummEngine_v72he::o72_roomOps() {