From a9ff09b06602082086207971f8c5d24ec30fe664 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 16 Apr 2005 05:36:01 +0000 Subject: Adjust for footdemo, which triggers assert. svn-id: r17612 --- scumm/script_v72he.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/script_v72he.cpp') 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); } -- cgit v1.2.3