Possible fix for bug #590511
|Reported by:||eriktorbjorn||Owned by:||SF/jamieson630|
|Game:||Monkey Island 2|
This should fix bug #590511 ("MI2: No music if room transition is too fast").
The problem here is that MI2 won't start the room's music if it's already playing, so if you're re-entering a room while its music is being faded out you won't get any music.
The only way I can think of to fix this is to change get_sound_status() so that it won't consider a fading-out sound to be playing. And, to avoid breaking the assumption that a sound can only be played by one player at a time, the fading-out sound is terminated.
Obviously this assumes that anyone who is asking "is this sound playing?" really means "is it ok if I start playing this sound now?" Is that a safe assumption to make?
Ticket imported from: #607175. Ticket imported from: patches/143.