diff options
-rw-r--r-- | saga/interface.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/saga/interface.cpp b/saga/interface.cpp index 383fcd573e..ccb172345f 100644 --- a/saga/interface.cpp +++ b/saga/interface.cpp @@ -1215,23 +1215,11 @@ void Interface::handleOptionClick(const Point& mousePoint) { } void Interface::handleChapterSelectionUpdate(const Point& mousePoint) { - uint16 objectId =ID_NOTHING; - int16 objectFlags; - uint16 newObjectId; + uint16 objectId; // FIXME: Original handled more object types here. - newObjectId = _vm->_actor->hitTest(mousePoint, true); - - if (newObjectId != ID_NOTHING) { - if (objectTypeId(newObjectId) == kGameObjectObject) { - objectId = newObjectId; - objectFlags = 0; - } else { - objectId = newObjectId; - objectFlags = kObjUseWith; - } - } + objectId = _vm->_actor->hitTest(mousePoint, true); if (objectId != _vm->_script->_pointerObject) { _vm->_script->_pointerObject = objectId; |