[Scummvm-git-logs] scummvm master -> cc2973f04f5e46eb1c07ee5ff1e400cf9a85e64e

dreammaster paulfgilbert at gmail.com
Sat Nov 16 05:27:13 CET 2019


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:
cc2973f04f GLK: ARCHETYPE: Fix saving games


Commit: cc2973f04f5e46eb1c07ee5ff1e400cf9a85e64e
    https://github.com/scummvm/scummvm/commit/cc2973f04f5e46eb1c07ee5ff1e400cf9a85e64e
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-11-15T20:26:59-08:00

Commit Message:
GLK: ARCHETYPE: Fix saving games

Changed paths:
    engines/glk/archetype/saveload.cpp


diff --git a/engines/glk/archetype/saveload.cpp b/engines/glk/archetype/saveload.cpp
index dc36346..8474996 100644
--- a/engines/glk/archetype/saveload.cpp
+++ b/engines/glk/archetype/saveload.cpp
@@ -341,11 +341,12 @@ static void walk_expr(MissionType mission, Common::Stream *bfile, ExprTree &the_
 			if (Translating && the_expr->_data._ident.ident_kind == DefaultClassification) {
 				// may have changed meaning
 				get_meaning(the_expr->_data._ident.ident_int, ID_kind, temp);
-				if (ID_kind == UNDEFINED_ID)
+				if (ID_kind == UNDEFINED_ID) {
 					add_undefined(the_expr->_data._ident.ident_int);
-			} else {
-				the_expr->_data._ident.ident_kind = ID_kind;
-				the_expr->_data._ident.ident_int = temp;
+				} else {
+					the_expr->_data._ident.ident_kind = ID_kind;
+					the_expr->_data._ident.ident_int = temp;
+				}
 			}
 
 			writeStream->writeByte(the_expr->_data._ident.ident_kind);





More information about the Scummvm-git-logs mailing list