aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/world.cpp
diff options
context:
space:
mode:
authorBorja Lorente2016-08-15 11:28:30 +0200
committerBorja Lorente2016-08-19 16:30:18 +0200
commit09fe00eb2a8f11e274901a4af4e19ec5275ff7e8 (patch)
treecd3a1419f3d2410f3e6e65595445acdeb1b3eb26 /engines/macventure/world.cpp
parentfd01961d55e5e749adea193cdadd184aefcd5887 (diff)
downloadscummvm-rg350-09fe00eb2a8f11e274901a4af4e19ec5275ff7e8.tar.gz
scummvm-rg350-09fe00eb2a8f11e274901a4af4e19ec5275ff7e8.tar.bz2
scummvm-rg350-09fe00eb2a8f11e274901a4af4e19ec5275ff7e8.zip
MACVENTURE: Fix indentation and braces
Diffstat (limited to 'engines/macventure/world.cpp')
-rw-r--r--engines/macventure/world.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/macventure/world.cpp b/engines/macventure/world.cpp
index 20695dbff6..35cfbd1533 100644
--- a/engines/macventure/world.cpp
+++ b/engines/macventure/world.cpp
@@ -5,7 +5,7 @@
namespace MacVenture {
-World::World(MacVentureEngine *engine, Common::MacResManager *resMan) {
+World::World(MacVentureEngine *engine, Common::MacResManager *resMan) {
_resourceManager = resMan;
_engine = engine;
_saveGame = NULL;
@@ -104,7 +104,7 @@ bool MacVenture::World::isObjActive(ObjID obj) {
if (!getAncestor(obj)) return false; // If our ancestor is the garbage (obj 0), we're inactive
if (_engine->getInvolvedObjects() >= 2 && // If (we need > 1 objs for the command) &&
destObj > 0 && // we have a destination object &&
- !getAncestor(destObj)) // but that destination object is in the garbage
+ !getAncestor(destObj)) // but that destination object is in the garbage
return false;
if (selectedControl != kMoveObject) return true; // We only need one
// Handle move object