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

digitall noreply at scummvm.org
Sun Feb 12 12:42:41 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:
d06f267e07 MTROPOLIS: Fix Parantheses Suggested GCC Compiler Warning


Commit: d06f267e072ba7a14aebff36b161734bbfbd5acc
    https://github.com/scummvm/scummvm/commit/d06f267e072ba7a14aebff36b161734bbfbd5acc
Author: D G Turner (digitall at scummvm.org)
Date: 2023-02-12T12:41:58Z

Commit Message:
MTROPOLIS: Fix Parantheses Suggested GCC Compiler Warning

Changed paths:
    engines/mtropolis/runtime.cpp


diff --git a/engines/mtropolis/runtime.cpp b/engines/mtropolis/runtime.cpp
index cee20bafc28..4b9769855c8 100644
--- a/engines/mtropolis/runtime.cpp
+++ b/engines/mtropolis/runtime.cpp
@@ -2766,7 +2766,7 @@ MiniscriptInstructionOutcome WorldManagerInterface::setCurrentScene(MiniscriptTh
 		return kMiniscriptInstructionOutcomeFailed;
 	}
 
-	bool addToReturnList = _opInt & 0x01 != 0;
+	bool addToReturnList = (_opInt & 0x01) != 0;
 	thread->getRuntime()->addSceneStateTransition(HighLevelSceneTransition(scene->getSelfReference().lock().staticCast<Structural>(), HighLevelSceneTransition::kTypeChangeToScene, false, addToReturnList));
 
 	return kMiniscriptInstructionOutcomeContinue;




More information about the Scummvm-git-logs mailing list