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
This commit is contained in:
Eugene Sandulenko 2010-06-15 10:46:04 +00:00
parent 9867d4ba87
commit 48d0d3008b

View file

@ -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;