[Scummvm-git-logs] scummvm master -> 9416772cb144ea20e3b5bf62bd638c4e6d5942ce
AndywinXp
noreply at scummvm.org
Sun Apr 2 09:35:48 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:
9416772cb1 SCUMM: Fix keyboard inputs being lost during mouse inputs
Commit: 9416772cb144ea20e3b5bf62bd638c4e6d5942ce
https://github.com/scummvm/scummvm/commit/9416772cb144ea20e3b5bf62bd638c4e6d5942ce
Author: AndywinXp (andywinxp at gmail.com)
Date: 2023-04-02T11:35:35+02:00
Commit Message:
SCUMM: Fix keyboard inputs being lost during mouse inputs
The line we're amending was applied a while ago when there had
been issues with COMI losing mouse inputs during a keyboard press;
apparently this has been resolved in a different way, and keeping it
(on the contrary) loses keyboard inputs.
This has been tested by the speedrun community.
Changed paths:
engines/scumm/input.cpp
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index 89fd33f315c..a7a615a8baa 100644
--- a/engines/scumm/input.cpp
+++ b/engines/scumm/input.cpp
@@ -478,7 +478,7 @@ void ScummEngine::processInput() {
_leftBtnPressed &= ~msClicked;
_rightBtnPressed &= ~msClicked;
- if (_mouseAndKeyboardStat || !lastKeyHit.ascii)
+ if (!lastKeyHit.ascii)
return;
processKeyboard(lastKeyHit);
More information about the Scummvm-git-logs
mailing list