diff options
author | Filippos Karapetis | 2007-09-15 03:08:58 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-09-15 03:08:58 +0000 |
commit | fef707a2dd9755d25161a5dfa0db70b463bc7b08 (patch) | |
tree | d42f851e77a09dd7c9ee0a0f5015986d224e7a31 /engines/saga | |
parent | 1fa1b64984312844a34c742ea5a1cc3304736878 (diff) | |
download | scummvm-rg350-fef707a2dd9755d25161a5dfa0db70b463bc7b08.tar.gz scummvm-rg350-fef707a2dd9755d25161a5dfa0db70b463bc7b08.tar.bz2 scummvm-rg350-fef707a2dd9755d25161a5dfa0db70b463bc7b08.zip |
The right button verb in IHNM will no longer be invalid for some hitzones (e.g. "Quit game the door")
svn-id: r28903
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/script.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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)) { |