From 62af855e33aee4cf8e7a66cc9c2b5d0948f526b1 Mon Sep 17 00:00:00 2001 From: Borja Lorente Date: Sun, 14 Aug 2016 12:21:04 +0200 Subject: MACVENTURE: Fix operate command --- engines/macventure/macventure.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/macventure/macventure.cpp b/engines/macventure/macventure.cpp index 16be24b2c4..1244c83d16 100644 --- a/engines/macventure/macventure.cpp +++ b/engines/macventure/macventure.cpp @@ -683,8 +683,9 @@ void MacVentureEngine::unselectAll() { void MacVentureEngine::selectObject(ObjID objID) { if (!_currentSelection.empty()) { - if (findParentWindow(objID) != findParentWindow(_currentSelection[0])) - unselectAll(); + if (findParentWindow(objID) != findParentWindow(_currentSelection[0])) { + //unselectAll(); + } } if (findObjectInArray(objID, _currentSelection) == -1) { _currentSelection.push_back(objID); @@ -896,7 +897,6 @@ void MacVentureEngine::reflectSwap(ObjID fromID, ObjID toID) { } void MacVentureEngine::toggleExits() { - warning("delete this when done testing!"); Common::Array exits = _currentSelection; while (!exits.empty()) { ObjID obj = exits.front(); -- cgit v1.2.3