SCUMM: (SAM) - add dissolve effect when restarting with F8

SAM has this hard coded for the restart handling. I noticed it in an
emulator and then found it in the original code . Without that, the
game would show the box transition for the restart which is
not suitable for SAM (it is made for games with a separate
verb interface).
This commit is contained in:
athrxx 2022-10-08 16:27:54 +02:00
parent 7d4542064f
commit dee25ecfc5

View File

@ -1330,6 +1330,9 @@ void ScummEngine::queryRestart() {
if (_game.version < 5)
restoreCharsetBg();
if (_game.id == GID_SAMNMAX)
fadeOut(134);
restart();
}
}