[Scummvm-git-logs] scummvm master -> 1290da84ca3884652e6d58531132edec1317b53f
athrxx
noreply at scummvm.org
Sun Oct 15 20:22: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:
1290da84ca SCUMM: (INDY3) - fix "what is" bug
Commit: 1290da84ca3884652e6d58531132edec1317b53f
https://github.com/scummvm/scummvm/commit/1290da84ca3884652e6d58531132edec1317b53f
Author: athrxx (athrxx at scummvm.org)
Date: 2023-10-15T22:14:53+02:00
Commit Message:
SCUMM: (INDY3) - fix "what is" bug
(the verb should not be usable on actors)
Changed paths:
engines/scumm/verbs.cpp
diff --git a/engines/scumm/verbs.cpp b/engines/scumm/verbs.cpp
index d2fa5827f48..f638d4050fd 100644
--- a/engines/scumm/verbs.cpp
+++ b/engines/scumm/verbs.cpp
@@ -617,7 +617,7 @@ void ScummEngine::checkExecVerbs() {
// Generic keyboard input
runInputScript(kKeyClickArea, _mouseAndKeyboardStat, 1);
} else if (_mouseAndKeyboardStat & MBS_MOUSE_MASK) {
- const byte code = _mouseAndKeyboardStat & MBS_LEFT_CLICK ? 1 : 2;
+ const byte code = (_game.version > 3) ? (_mouseAndKeyboardStat & MBS_LEFT_CLICK ? 1 : 2) : 0;
if (_game.id == GID_SAMNMAX) {
// This has been simplified for SAMNMAX while DOTT still has the "normal" implementation
// (which makes sense, since it still has the "normal" verb interface). Anyway, we need this,
More information about the Scummvm-git-logs
mailing list