diff options
author | Max Horn | 2009-09-30 16:16:53 +0000 |
---|---|---|
committer | Max Horn | 2009-09-30 16:16:53 +0000 |
commit | 8ba75fc522f16844524dd4d6f88c3851e2402969 (patch) | |
tree | df25c20389e3e706d508f37914dedc73c6479f00 /engines/saga | |
parent | 25dde91c7c6c7da52636e3daa34bd9eee5d9dcb9 (diff) | |
download | scummvm-rg350-8ba75fc522f16844524dd4d6f88c3851e2402969.tar.gz scummvm-rg350-8ba75fc522f16844524dd4d6f88c3851e2402969.tar.bz2 scummvm-rg350-8ba75fc522f16844524dd4d6f88c3851e2402969.zip |
Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
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; |