aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBorja Lorente2016-08-14 12:21:04 +0200
committerBorja Lorente2016-08-19 16:29:17 +0200
commit62af855e33aee4cf8e7a66cc9c2b5d0948f526b1 (patch)
tree1beb7cceddc0d054a805d0d547b3557185f0e437 /engines
parentd86a426dcbf0ca0ec38df70bfe4567b2fada08ce (diff)
downloadscummvm-rg350-62af855e33aee4cf8e7a66cc9c2b5d0948f526b1.tar.gz
scummvm-rg350-62af855e33aee4cf8e7a66cc9c2b5d0948f526b1.tar.bz2
scummvm-rg350-62af855e33aee4cf8e7a66cc9c2b5d0948f526b1.zip
MACVENTURE: Fix operate command
Diffstat (limited to 'engines')
-rw-r--r--engines/macventure/macventure.cpp6
1 files 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<ObjID> exits = _currentSelection;
while (!exits.empty()) {
ObjID obj = exits.front();