[Scummvm-git-logs] scummvm master -> 652d8fd20bd65276623a5abeb778c0f51b6355e5
AndywinXp
noreply at scummvm.org
Wed Sep 14 21:07:08 UTC 2022
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:
652d8fd20b SCUMM: GUI: Fix regression in which COMI (non-demo) allowed using '+' and '-' for text speed
Commit: 652d8fd20bd65276623a5abeb778c0f51b6355e5
https://github.com/scummvm/scummvm/commit/652d8fd20bd65276623a5abeb778c0f51b6355e5
Author: AndywinXp (andywinxp at gmail.com)
Date: 2022-09-14T23:06:57+02:00
Commit Message:
SCUMM: GUI: Fix regression in which COMI (non-demo) allowed using '+' and '-' for text speed
Changed paths:
engines/scumm/input.cpp
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index a5b13fc9213..17e517aab77 100644
--- a/engines/scumm/input.cpp
+++ b/engines/scumm/input.cpp
@@ -916,7 +916,8 @@ void ScummEngine::processKeyboard(Common::KeyState lastKeyHit) {
}
// "Text Speed Slow ========== Fast"
- if (_game.version > 3 && (lastKeyHit.ascii == '+' || lastKeyHit.ascii == '-')) {
+ if (((_game.version > 3 && _game.version < 8) || (_game.version == 8 && (_game.features & GF_DEMO)))
+ && (lastKeyHit.ascii == '+' || lastKeyHit.ascii == '-')) {
if (VAR_CHARINC == 0xFF)
return;
More information about the Scummvm-git-logs
mailing list