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

whoozle noreply at scummvm.org
Thu Nov 13 22:57:33 UTC 2025


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

Summary:
d93cd66af4 AGDS: unconditionally patch character visibility flag


Commit: d93cd66af4df1a698da23056966b618bbd6d7c84
    https://github.com/scummvm/scummvm/commit/d93cd66af4df1a698da23056966b618bbd6d7c84
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2025-11-13T22:56:50Z

Commit Message:
AGDS: unconditionally patch character visibility flag

Changed paths:
    engines/agds/agds.cpp


diff --git a/engines/agds/agds.cpp b/engines/agds/agds.cpp
index 70c2c15b34d..e4aa44340f5 100644
--- a/engines/agds/agds.cpp
+++ b/engines/agds/agds.cpp
@@ -354,8 +354,8 @@ void AGDSEngine::loadScreen(const Common::String &name, ScreenLoadingType loadin
 
 	if (doPatch) {
 		_currentScreen->load(patch);
-		if (_currentCharacter && patch->characterPresent) {
-			_currentCharacter->visible(true);
+		if (_currentCharacter) {
+			_currentCharacter->visible(patch->characterPresent);
 			_currentCharacter->position(patch->characterPosition);
 			_currentCharacter->direction(patch->characterDirection);
 		}




More information about the Scummvm-git-logs mailing list