[Scummvm-git-logs] scummvm master -> 5bf4ec6a0e92df1308a9b8a19440f896183a8f87

sluicebox noreply at scummvm.org
Fri Nov 15 07:19:43 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:
5bf4ec6a0e AGI: PREAGI: Fix WINNIE not responding to left mouse clicks


Commit: 5bf4ec6a0e92df1308a9b8a19440f896183a8f87
    https://github.com/scummvm/scummvm/commit/5bf4ec6a0e92df1308a9b8a19440f896183a8f87
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2024-11-14T23:18:39-08:00

Commit Message:
AGI: PREAGI: Fix WINNIE not responding to left mouse clicks

Fixes Winnie the Pooh not responding to left mouse clicks while
displaying a room description. This prevented traveling between
rooms using only the mouse interface.

Changed paths:
    engines/agi/preagi/preagi.cpp


diff --git a/engines/agi/preagi/preagi.cpp b/engines/agi/preagi/preagi.cpp
index 91816342623..8f734eb5966 100644
--- a/engines/agi/preagi/preagi.cpp
+++ b/engines/agi/preagi/preagi.cpp
@@ -184,7 +184,7 @@ int PreAgiEngine::getSelection(SelectionTypes type) {
 			case Common::EVENT_RBUTTONUP:
 				return 0;
 			case Common::EVENT_LBUTTONUP:
-				if (type == kSelYesNo || type == kSelAnyKey)
+				if (type == kSelYesNo || type == kSelAnyKey || type == kSelBackspace)
 					return 1;
 				break;
 			case Common::EVENT_KEYDOWN:




More information about the Scummvm-git-logs mailing list