diff options
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/isomap.cpp | 4 | ||||
-rw-r--r-- | engines/saga/saga.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/saga/isomap.cpp b/engines/saga/isomap.cpp index 850eb994a7..08a00acd2a 100644 --- a/engines/saga/isomap.cpp +++ b/engines/saga/isomap.cpp @@ -1067,7 +1067,7 @@ void IsoMap::testPossibleDirections(int16 u, int16 v, uint16 terraComp[8], int s memset(terraComp, 0, 8 * sizeof(uint16)); #define FILL_MASK(index, testMask) \ - if ( mask & testMask) { \ + if (mask & testMask) { \ terraComp[index] |= fgdMask; \ } \ if (~mask & testMask) { \ @@ -1370,7 +1370,7 @@ void IsoMap::findDragonTilePath(ActorData* actor,const Location &start, const Lo tile = getTile(u1, v1, _platformHeight ); if (tile != NULL) { mask = tile->terrainMask; - if ( ((mask != 0) && (tile->GetFGDAttr() >= kTerrBlock)) || + if (((mask != 0) && (tile->GetFGDAttr() >= kTerrBlock)) || ((mask != 0xFFFF) && (tile->GetBGDAttr() >= kTerrBlock)) ) { pcell->visited = 1; } diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp index 7386b6dd10..84d151223f 100644 --- a/engines/saga/saga.cpp +++ b/engines/saga/saga.cpp @@ -169,7 +169,7 @@ Common::Error SagaEngine::run() { if (_readingSpeed > 3) _readingSpeed = 0; - switch(getGameId()) { + switch (getGameId()) { case GID_ITE: _resource = new Resource_RSC(this); break; |