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

dreammaster noreply at scummvm.org
Fri Feb 24 03:35:32 UTC 2023


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:
ba1836aacf GLK: SCOTT: Fix inverted condition


Commit: ba1836aacf60ec7df5ac764f476b4fcb46d805e4
    https://github.com/scummvm/scummvm/commit/ba1836aacf60ec7df5ac764f476b4fcb46d805e4
Author: angstsmurf (ignalina at me.com)
Date: 2023-02-23T19:35:26-08:00

Commit Message:
GLK: SCOTT: Fix inverted condition

Changed paths:
    engines/glk/scott/load_game.cpp


diff --git a/engines/glk/scott/load_game.cpp b/engines/glk/scott/load_game.cpp
index 91668464b77..629cb9f1d45 100644
--- a/engines/glk/scott/load_game.cpp
+++ b/engines/glk/scott/load_game.cpp
@@ -252,7 +252,7 @@ void loadGameFile(Common::SeekableReadStream *f) {
 		break;
 	}
 
-	if (!(_G(_game)->_subType & (C64 | MYSTERIOUS))) {
+	if ((_G(_game)->_subType & (C64 | MYSTERIOUS)) == (MYSTERIOUS | C64)) {
 		mysterious64Sysmess();
 	}
 




More information about the Scummvm-git-logs mailing list