[Scummvm-git-logs] scummvm master -> 9eda47aaa82fe39d6265dc01a6d580450a2c25aa

dreammaster paulfgilbert at gmail.com
Wed Dec 19 06:47:27 CET 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9eda47aaa8 GLK: FROTZ: Fix rerender after loading Beyond Zork savegames


Commit: 9eda47aaa82fe39d6265dc01a6d580450a2c25aa
    https://github.com/scummvm/scummvm/commit/9eda47aaa82fe39d6265dc01a6d580450a2c25aa
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-12-18T21:47:20-08:00

Commit Message:
GLK: FROTZ: Fix rerender after loading Beyond Zork savegames

Changed paths:
    engines/glk/frotz/processor_streams.cpp


diff --git a/engines/glk/frotz/processor_streams.cpp b/engines/glk/frotz/processor_streams.cpp
index 11f7932..84872f1 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() {





More information about the Scummvm-git-logs mailing list