diff options
author | Travis Howell | 2005-04-18 11:44:01 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-18 11:44:01 +0000 |
commit | d391c2f837199cfecb0c26c518bbf804d3da3d3c (patch) | |
tree | ebf6c68e575541c652eae9cb0e9e1c764671e064 /scumm/script_v80he.cpp | |
parent | 8d01148b797f66af457434284b3a41bd18b86098 (diff) | |
download | scummvm-rg350-d391c2f837199cfecb0c26c518bbf804d3da3d3c.tar.gz scummvm-rg350-d391c2f837199cfecb0c26c518bbf804d3da3d3c.tar.bz2 scummvm-rg350-d391c2f837199cfecb0c26c518bbf804d3da3d3c.zip |
Adjust again, for sound header differences.
svn-id: r17668
Diffstat (limited to 'scumm/script_v80he.cpp')
-rw-r--r-- | scumm/script_v80he.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/scumm/script_v80he.cpp b/scumm/script_v80he.cpp index 8e523d90dc..482315f47b 100644 --- a/scumm/script_v80he.cpp +++ b/scumm/script_v80he.cpp @@ -814,16 +814,7 @@ void ScummEngine_v80he::o80_getResourceSize() { switch (subOp) { case 13: - 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; case 14: type = rtRoomImage; |