From 1cf0eb172732232664f88a16ae6c78061e675f5d Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 3 Aug 2009 09:28:06 +0000 Subject: Bugfix to correctly reset the music tempo when loading a savegame svn-id: r43023 --- engines/cruise/sound.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/cruise/sound.cpp') diff --git a/engines/cruise/sound.cpp b/engines/cruise/sound.cpp index 92c2ac6256..7ca4246785 100644 --- a/engines/cruise/sound.cpp +++ b/engines/cruise/sound.cpp @@ -766,6 +766,10 @@ void PCSoundFxPlayer::doSync(Common::Serializer &s) { for (int i = 0; i < NUM_CHANNELS; ++i) { _instrumentsChannelTable[i] = -1; } + + _numOrders = _sfxData[470]; + _eventsDelay = (244 - _sfxData[471]) * 100 / 1060; + _updateTicksCounter = 0; } s.syncAsSint16LE(_songPlayed); -- cgit v1.2.3