aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-06-05 16:31:58 +0000
committerFilippos Karapetis2007-06-05 16:31:58 +0000
commitab6fb8e9c3cd6853f23f7251e891c13da9472a33 (patch)
tree47249b40b1628c4cc8893300633192ee5e827214
parent158193fe51c7cc578b056481024e264252675121 (diff)
downloadscummvm-rg350-ab6fb8e9c3cd6853f23f7251e891c13da9472a33.tar.gz
scummvm-rg350-ab6fb8e9c3cd6853f23f7251e891c13da9472a33.tar.bz2
scummvm-rg350-ab6fb8e9c3cd6853f23f7251e891c13da9472a33.zip
Filtering specific verbs is used in ITE, but not in IHNM. It's now possible to use the jukebox in the honky-tonk in IHNM
svn-id: r27110
-rw-r--r--engines/saga/script.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp
index a7d4392795..3c5938ff03 100644
--- a/engines/saga/script.cpp
+++ b/engines/saga/script.cpp
@@ -719,8 +719,10 @@ void Script::whichObject(const Point& mousePoint) {
(_currentVerb == getVerbType(kVerbClose)) ||
((_currentVerb == getVerbType(kVerbGive)) && !_firstObjectSet) ||
((_currentVerb == getVerbType(kVerbUse)) && !(actor->_flags & kFollower))) {
- objectId = ID_NOTHING;
- newObjectId = ID_NOTHING;
+ if (_vm->getGameType() == GType_ITE) {
+ objectId = ID_NOTHING;
+ newObjectId = ID_NOTHING;
+ }
}
}
}