[Scummvm-git-logs] scummvm master -> 6e6caf7d99cd49a5d52db2995bb85c3c7d552e9b

mgerhardy noreply at scummvm.org
Mon Oct 14 18:09:57 UTC 2024


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:
6e6caf7d99 TWINE: fixed logic error from previous commit


Commit: 6e6caf7d99cd49a5d52db2995bb85c3c7d552e9b
    https://github.com/scummvm/scummvm/commit/6e6caf7d99cd49a5d52db2995bb85c3c7d552e9b
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2024-10-14T20:07:55+02:00

Commit Message:
TWINE: fixed logic error from previous commit

Changed paths:
    engines/twine/twine.cpp


diff --git a/engines/twine/twine.cpp b/engines/twine/twine.cpp
index 9a655efd836..21cdec4d773 100644
--- a/engines/twine/twine.cpp
+++ b/engines/twine/twine.cpp
@@ -917,7 +917,7 @@ bool TwinEEngine::runGameEngine() { // mainLoopInteration
 		if (_input->toggleAbortAction()) {
 			return true;
 		}
-	} else if (_screens->_flagFade) {
+	} else if (!_screens->_flagFade) {
 		// Process give up menu - Press ESC
 		if (_input->toggleAbortAction() && _scene->_sceneHero->_lifePoint > 0 && _scene->_sceneHero->_body != -1 && !_scene->_sceneHero->_staticFlags.bIsInvisible) {
 			saveTimer(false);




More information about the Scummvm-git-logs mailing list