diff options
author | Filippos Karapetis | 2007-06-06 00:51:07 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-06-06 00:51:07 +0000 |
commit | 55607e9c998c22f4af98b43f719bafb07dec31e9 (patch) | |
tree | 11f1f20201254a1991b830026d7bb25e0a11f08f /engines/saga | |
parent | 248d527a566e3adc8cd9a90e330d6b665861272c (diff) | |
download | scummvm-rg350-55607e9c998c22f4af98b43f719bafb07dec31e9.tar.gz scummvm-rg350-55607e9c998c22f4af98b43f719bafb07dec31e9.tar.bz2 scummvm-rg350-55607e9c998c22f4af98b43f719bafb07dec31e9.zip |
Fix regression caused by commit #27108
svn-id: r27122
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/script.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp index 60a23c83ce..143bda6d5b 100644 --- a/engines/saga/script.cpp +++ b/engines/saga/script.cpp @@ -619,9 +619,7 @@ void Script::playfieldClick(const Point& mousePoint, bool leftButton) { hitZone = NULL; - if (objectTypeId(_pendingObject[0]) == 0) - return; - else if (objectTypeId(_pendingObject[0]) == kGameObjectHitZone) { + if (objectTypeId(_pendingObject[0]) == kGameObjectHitZone) { hitZone = _vm->_scene->_objectMap->getHitZone(objectIdToIndex(_pendingObject[0])); } else { if ((_pendingVerb == getVerbType(kVerbUse)) && (objectTypeId(_pendingObject[1]) == kGameObjectHitZone)) { |