diff options
Diffstat (limited to 'engines/macventure/macventure.cpp')
-rw-r--r-- | engines/macventure/macventure.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/macventure/macventure.cpp b/engines/macventure/macventure.cpp index 76a4791572..0542665d3c 100644 --- a/engines/macventure/macventure.cpp +++ b/engines/macventure/macventure.cpp @@ -377,8 +377,6 @@ void MacVentureEngine::handleObjectSelect(ObjID objID, WindowReference win, bool win = kMainGameWindow; } - bool canDrag = (objID && !_world->getObjAttr(objID, kAttrInvisible)); - const WindowData &windata = _gui->getWindowData(win); if (shiftPressed) { @@ -802,7 +800,7 @@ void MacVentureEngine::openObject(ObjID objID) { void MacVentureEngine::closeObject(ObjID objID) { warning("closeObject: not fully implemented"); - bool success = _gui->tryCloseWindow(getObjWindow(objID)); + _gui->tryCloseWindow(getObjWindow(objID)); return; } |