From 996deff15b347f05f95b2a6b9d0e382d25d0db3e Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 25 Aug 2011 02:52:58 +0300 Subject: 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(). --- engines/sci/sound/soundcmd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/sci/sound/soundcmd.h') 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 -- cgit v1.2.3