aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v100he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v100he.cpp')
-rw-r--r--scumm/script_v100he.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp
index 893f7066af..9fd166246d 100644
--- a/scumm/script_v100he.cpp
+++ b/scumm/script_v100he.cpp
@@ -2211,7 +2211,9 @@ void ScummEngine_v100he::o100_getResourceSize() {
break;
case 72:
if (resid > _numSounds) {
- push(getMusicResourceSize(resid));
+ int offs;
+ _sound->getHEMusicDetails(resid, offs, size);
+ push(size);
return;
}
type = rtSound;