From d391c2f837199cfecb0c26c518bbf804d3da3d3c Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 18 Apr 2005 11:44:01 +0000 Subject: Adjust again, for sound header differences. svn-id: r17668 --- scumm/script_v100he.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'scumm/script_v100he.cpp') diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp index 1494cdc40f..c0939cc947 100644 --- a/scumm/script_v100he.cpp +++ b/scumm/script_v100he.cpp @@ -2211,16 +2211,7 @@ void ScummEngine_v100he::o100_getResourceSize() { type = rtScript; break; case 72: - if (resid > _numSounds) { - int offs; - _sound->getHEMusicDetails(resid, offs, size); - push(size); - } else { - ptr = getResourceAddress(rtSound, resid); - assert(ptr); - size = READ_BE_UINT32(ptr + 4) - 40; - push(size); - } + push (getSoundResourceSize(resid)); return; default: error("o100_getResourceSize: default type %d", subOp); -- cgit v1.2.3