From fef707a2dd9755d25161a5dfa0db70b463bc7b08 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 15 Sep 2007 03:08:58 +0000 Subject: The right button verb in IHNM will no longer be invalid for some hitzones (e.g. "Quit game the door") svn-id: r28903 --- engines/saga/script.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/saga') diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp index 5153e9ffd2..49071ecc60 100644 --- a/engines/saga/script.cpp +++ b/engines/saga/script.cpp @@ -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)) { -- cgit v1.2.3