mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
The right button verb in IHNM will no longer be invalid for some hitzones (e.g. "Quit game the door")
svn-id: r28903
This commit is contained in:
parent
1fa1b64984
commit
fef707a2dd
@ -831,6 +831,10 @@ void Script::whichObject(const Point& mousePoint) {
|
||||
if (newRightButtonVerb >= getVerbType(kVerbOptions)) {
|
||||
newRightButtonVerb = getVerbType(kVerbNone);
|
||||
}
|
||||
} else {
|
||||
if (newRightButtonVerb >= getVerbType(kVerbOptions)) {
|
||||
newRightButtonVerb = getVerbType(kVerbWalkTo);
|
||||
}
|
||||
}
|
||||
|
||||
if ((_currentVerb == getVerbType(kVerbTalkTo)) || ((_currentVerb == getVerbType(kVerbGive)) && _firstObjectSet)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user