mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
HUGO: Fix game restoring
svn-id: r52145
This commit is contained in:
parent
2a3f985566
commit
789219022a
@ -309,7 +309,7 @@ void Parser::lineHandler() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!strcmp("restore", _line) && gameStatus.viewState == V_PLAY || gameStatus.viewState == V_IDLE) {
|
||||
if (!strcmp("restore", _line) && (gameStatus.viewState == V_PLAY || gameStatus.viewState == V_IDLE)) {
|
||||
_vm.file().restoreGame(gameStatus.saveSlot);
|
||||
_vm.scheduler().restoreScreen(*_vm._screen_p);
|
||||
gameStatus.viewState = V_PLAY;
|
||||
|
Loading…
Reference in New Issue
Block a user