From d4ba67a49793677a19680f72f9e7fb14fc6c747c Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 18 Apr 2005 07:18:33 +0000 Subject: Use correct music offsets for HE games, only a few demos use wrong tunes now. Get all music details for HE games from one function only. svn-id: r17662 --- scumm/script_v100he.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scumm/script_v100he.cpp') 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; -- cgit v1.2.3