diff options
author | Max Horn | 2005-05-08 21:49:52 +0000 |
---|---|---|
committer | Max Horn | 2005-05-08 21:49:52 +0000 |
commit | cca744f69a9eb079a314c8f39af1faa4e7b1e5a6 (patch) | |
tree | 1eb00deac3941d844ce98abc10eb4339955ef61d /saga/isomap.cpp | |
parent | 013e30eb389c40eb579cc8e3f05b8e8da80925ca (diff) | |
download | scummvm-rg350-cca744f69a9eb079a314c8f39af1faa4e7b1e5a6.tar.gz scummvm-rg350-cca744f69a9eb079a314c8f39af1faa4e7b1e5a6.tar.bz2 scummvm-rg350-cca744f69a9eb079a314c8f39af1faa4e7b1e5a6.zip |
Comply to our coding conventions
svn-id: r17975
Diffstat (limited to 'saga/isomap.cpp')
-rw-r--r-- | saga/isomap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/saga/isomap.cpp b/saga/isomap.cpp index 8a3e90a8c5..98fc236270 100644 --- a/saga/isomap.cpp +++ b/saga/isomap.cpp @@ -923,7 +923,7 @@ void IsoMap::pushPoint(int16 u, int16 v, uint16 cost, uint16 direction) { return; } - while(1) { + while (1) { mid = (upper + lower) / 2; tilePoint = _searchArray.getQueue(mid); @@ -1300,10 +1300,10 @@ void IsoMap::findTilePath(ActorData* actor, const Location &start, const Locatio if (terrainMask & SAGA_IMPASSABLE) { continue; } else { - if(terrainMask & (1 << kTerrRough)) { + if (terrainMask & (1 << kTerrRough)) { tdir = &hardDirTable[ dir ]; } else { - if(terrainMask & (1 << kTerrNone)) { + if (terrainMask & (1 << kTerrNone)) { tdir = &normalDirTable[ dir ]; } else { tdir = &easyDirTable[ dir ]; |