aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/soundcmd.h
diff options
context:
space:
mode:
authorFilippos Karapetis2011-08-25 02:52:58 +0300
committerFilippos Karapetis2011-08-25 02:52:58 +0300
commit996deff15b347f05f95b2a6b9d0e382d25d0db3e (patch)
tree52471b99071de706443e9c12e8934ceeb4d233c9 /engines/sci/sound/soundcmd.h
parent3774c38db59dd8528126112011d5345afee111bd (diff)
downloadscummvm-rg350-996deff15b347f05f95b2a6b9d0e382d25d0db3e.tar.gz
scummvm-rg350-996deff15b347f05f95b2a6b9d0e382d25d0db3e.tar.bz2
scummvm-rg350-996deff15b347f05f95b2a6b9d0e382d25d0db3e.zip
SCI: Fixed bug #3392767 - "SCI: SQ4 (English/CD/Win): Engine Abort In Timepod Hangar"
This bug only manifested in the Windows version of SQ4CD. Some Windows MIDI music tracks are missing from room 530, which messed up the animations in that scene, and led to a crash. Moved the code that obtains the song number from an object into a separate function. Also, fixed a bug in kDoSoundSetPriority().
Diffstat (limited to 'engines/sci/sound/soundcmd.h')
-rw-r--r--engines/sci/sound/soundcmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sound/soundcmd.h b/engines/sci/sound/soundcmd.h
index a542a8b384..7f6e2a0fe8 100644
--- a/engines/sci/sound/soundcmd.h
+++ b/engines/sci/sound/soundcmd.h
@@ -113,6 +113,7 @@ private:
void processInitSound(reg_t obj);
void processDisposeSound(reg_t obj);
void processUpdateCues(reg_t obj);
+ int getSoundResourceId(reg_t obj);
};
} // End of namespace Sci