[Scummvm-git-logs] scummvm master -> 21d57c04d28a0d67f9f68278f4425e27d1c2fd6e

tag2015 noreply at scummvm.org
Thu Sep 28 17:17:43 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:
21d57c04d2 AGS: Engine: fixed GUIControl_SetVisible()


Commit: 21d57c04d28a0d67f9f68278f4425e27d1c2fd6e
    https://github.com/scummvm/scummvm/commit/21d57c04d28a0d67f9f68278f4425e27d1c2fd6e
Author: Walter Agazzi (walter.agazzi at protonmail.com)
Date: 2023-09-28T19:14:33+02:00

Commit Message:
AGS: Engine: fixed GUIControl_SetVisible()

This fixes another fix from commit dcec61b
>From upstream cc247845762e12e924e36e0922149d3b862bbcce

Changed paths:
    engines/ags/engine/ac/gui_control.cpp


diff --git a/engines/ags/engine/ac/gui_control.cpp b/engines/ags/engine/ac/gui_control.cpp
index 401b73d9c6d..fe5ebd0a961 100644
--- a/engines/ags/engine/ac/gui_control.cpp
+++ b/engines/ags/engine/ac/gui_control.cpp
@@ -67,7 +67,7 @@ void GUIControl_SetVisible(GUIObject *guio, int visible) {
 		guio->SetVisible(on);
 		// Make sure that the overpic is turned off when the GUI goes off
 		if (!on && (_GP(guis)[guio->ParentId].MouseOverCtrl == guio->Id))
-			guio->OnMouseLeave();
+			_GP(guis)[guio->ParentId].ResetOverControl();
 	}
 }
 




More information about the Scummvm-git-logs mailing list