aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-08-25 13:01:22 +0000
committerFilippos Karapetis2007-08-25 13:01:22 +0000
commit05ba86577eea6697c36123c0dd09b91709db33c3 (patch)
treeb97ddfd08028887927c97e1b4d32efe1643c5c47
parentb68f2532c5383e20a010d503e3a9cafee9689b6a (diff)
downloadscummvm-rg350-05ba86577eea6697c36123c0dd09b91709db33c3.tar.gz
scummvm-rg350-05ba86577eea6697c36123c0dd09b91709db33c3.tar.bz2
scummvm-rg350-05ba86577eea6697c36123c0dd09b91709db33c3.zip
Added a note on mouse right button action for IHNM
svn-id: r28721
-rw-r--r--engines/saga/script.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp
index fb7d1676f6..5153e9ffd2 100644
--- a/engines/saga/script.cpp
+++ b/engines/saga/script.cpp
@@ -771,7 +771,13 @@ void Script::whichObject(const Point& mousePoint) {
objectId = newObjectId;
if (_vm->getGameType() == GType_ITE)
objectFlags = kObjUseWith;
+ // Note: for IHNM, the default right button action is "Look at" for actors,
+ // but "Talk to" makes much more sense
newRightButtonVerb = getVerbType(kVerbTalkTo);
+ // Slight hack because of the above change: the jukebox in Gorrister's chapter
+ // is an actor, so change the right button action to "Look at"
+ if (_vm->getGameType() == GType_IHNM && objectId == 8199)
+ newRightButtonVerb = getVerbType(kVerbLookAt);
if ((_currentVerb == getVerbType(kVerbPickUp)) ||
(_currentVerb == getVerbType(kVerbOpen)) ||