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:
Filippos Karapetis 2007-09-15 03:08:58 +00:00
parent 1fa1b64984
commit fef707a2dd

View File

@ -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)) {