diff options
author | Eugene Sandulenko | 2010-06-15 10:46:04 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-15 10:46:04 +0000 |
commit | 48d0d3008b3e886f06f63a9a67733cb3de8fcb0a (patch) | |
tree | 90239e91e7a597c670ff31441f87f87e132b9137 | |
parent | 9867d4ba875a9de5eaad245f395d7c2d22940258 (diff) | |
download | scummvm-rg350-48d0d3008b3e886f06f63a9a67733cb3de8fcb0a.tar.gz scummvm-rg350-48d0d3008b3e886f06f63a9a67733cb3de8fcb0a.tar.bz2 scummvm-rg350-48d0d3008b3e886f06f63a9a67733cb3de8fcb0a.zip |
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
-rw-r--r-- | engines/scumm/saveload.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |