aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v72he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r--scumm/script_v72he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index 8159edf1bc..9bf5407209 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -2161,7 +2161,7 @@ void ScummEngine_v72he::o72_getResourceSize() {
const byte *ptr = getResourceAddress(rtSound, resid);
assert(ptr);
- size = READ_BE_UINT32(ptr + 4) - 8;
+ size = getResourceDataSize(ptr);
push(size);
}