From 48d0d3008b3e886f06f63a9a67733cb3de8fcb0a Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 15 Jun 2010 10:46:04 +0000 Subject: SCUMM: Fix bug #1879604. Bug 1879604: "MANIACNES: Music not played when loading game". Actually previous attempt to fix this bug was not successful since first entry of script 5 does not have needed functionality. Now we resume music manually. svn-id: r49763 --- engines/scumm/saveload.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp index 7362dcd8cf..762b38fba2 100644 --- a/engines/scumm/saveload.cpp +++ b/engines/scumm/saveload.cpp @@ -577,6 +577,10 @@ bool ScummEngine::loadState(int slot, bool compat) { // Fixes bug #1766072: MANIACNES: Music Doesn't Start On Load Game if (_game.platform == Common::kPlatformNES) { runScript(5, 0, 0, 0); + + if (VAR(224)) { + _sound->addSoundToQueue(VAR(224)); + } } return true; -- cgit v1.2.3