aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/script.cpp')
-rw-r--r--engines/saga/script.cpp4
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)) {