[Scummvm-git-logs] scummvm master -> 27f9345bedcf82060f4210d711842ef97f89d514
AndywinXp
noreply at scummvm.org
Thu Jan 19 18:41:15 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:
27f9345bed SCUMM: Fix bug #14051
Commit: 27f9345bedcf82060f4210d711842ef97f89d514
https://github.com/scummvm/scummvm/commit/27f9345bedcf82060f4210d711842ef97f89d514
Author: AndywinXp (andywinxp at gmail.com)
Date: 2023-01-19T19:41:10+01:00
Commit Message:
SCUMM: Fix bug #14051
Changed paths:
engines/scumm/input.cpp
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index 2d1167fa7bc..4d839137e63 100644
--- a/engines/scumm/input.cpp
+++ b/engines/scumm/input.cpp
@@ -253,6 +253,10 @@ void ScummEngine::parseEvent(Common::Event event) {
break;
case Common::EVENT_RETURN_TO_LAUNCHER:
case Common::EVENT_QUIT:
+ // Some backends send a key stroke event and the quit
+ // event which was triggered by the keystroke. Clear the key.
+ clearClickedStatus();
+
if (isUsingOriginalGUI() &&
_game.platform != Common::kPlatformSegaCD &&
_game.platform != Common::kPlatformNES) {
More information about the Scummvm-git-logs
mailing list