diff options
Diffstat (limited to 'engines/glk')
-rw-r--r-- | engines/glk/frotz/processor_streams.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/glk/frotz/processor_streams.cpp b/engines/glk/frotz/processor_streams.cpp index 11f7932a28..84872f11e4 100644 --- a/engines/glk/frotz/processor_streams.cpp +++ b/engines/glk/frotz/processor_streams.cpp @@ -589,10 +589,11 @@ void Processor::z_restore() { success = loadGame().getCode() == Common::kNoError; } + int result = success ? 2 : -1; if (h_version <= V3) - branch (success); + branch(result); else - store (success); + store (result); } void Processor::z_verify() { |