From 55607e9c998c22f4af98b43f719bafb07dec31e9 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 6 Jun 2007 00:51:07 +0000 Subject: Fix regression caused by commit #27108 svn-id: r27122 --- engines/saga/script.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engines/saga') 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)) { -- cgit v1.2.3