From 66babe212e7984c7c4ba25f14f5b37fe8af354ae Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 16 Jun 2019 18:56:39 -0700 Subject: GLK: ADVSYS: Fix restoring games in-game --- engines/glk/advsys/advsys.cpp | 1 - engines/glk/advsys/vm.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/glk/advsys') diff --git a/engines/glk/advsys/advsys.cpp b/engines/glk/advsys/advsys.cpp index c65cd1806f..a61033a506 100644 --- a/engines/glk/advsys/advsys.cpp +++ b/engines/glk/advsys/advsys.cpp @@ -83,7 +83,6 @@ void AdvSys::deinitialize() { } bool AdvSys::singleAction() { - debug("------------------"); // Do the before code switch (execute(_beforeOffset)) { case ABORT: diff --git a/engines/glk/advsys/vm.cpp b/engines/glk/advsys/vm.cpp index 13929aed8e..1cb42dad7b 100644 --- a/engines/glk/advsys/vm.cpp +++ b/engines/glk/advsys/vm.cpp @@ -315,7 +315,7 @@ void VM::opSAVE() { } void VM::opRESTORE() { - if (saveGame().getCode() != Common::kNoError) + if (loadGame().getCode() != Common::kNoError) print(_("Sorry, the savegame couldn't be restored")); } -- cgit v1.2.3