Fix for bug #1766072: MANIACNES: Music Doesn't Start On Load Game

svn-id: r30122
This commit is contained in:
Eugene Sandulenko 2008-01-01 16:26:04 +00:00
parent e5e53a0017
commit 308b02f4ca

View file

@ -389,6 +389,15 @@ bool ScummEngine::loadState(int slot, bool compat) {
_sound->pauseSounds(false);
// WORKAROUND: Original save/load script ran this script
// after game load, and o2_loadRoomWithEgo() does as well
// this script starts character-dependent music
//
// Fixes bug #1766072: MANIACNES: Music Doesn't Start On Load Game
if (_game.platform == Common::kPlatformNES) {
runScript(5, 0, 0, 0);
}
return true;
}