diff options
author | Eric Fry | 2018-07-05 10:04:23 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 848b5a5ff5c317a92ba26254b94d273f2aa6bf97 (patch) | |
tree | 6b11ae0354e93f4ec5a24bef3579a5365967a89e /engines/illusions/pathfinder.cpp | |
parent | baf8011b07d70a95019e925ecff8e1979899cf5c (diff) | |
download | scummvm-rg350-848b5a5ff5c317a92ba26254b94d273f2aa6bf97.tar.gz scummvm-rg350-848b5a5ff5c317a92ba26254b94d273f2aa6bf97.tar.bz2 scummvm-rg350-848b5a5ff5c317a92ba26254b94d273f2aa6bf97.zip |
ILLUSIONS: Formatting fixes
Diffstat (limited to 'engines/illusions/pathfinder.cpp')
-rw-r--r-- | engines/illusions/pathfinder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/illusions/pathfinder.cpp b/engines/illusions/pathfinder.cpp index 2f723563e9..777cb4d4bd 100644 --- a/engines/illusions/pathfinder.cpp +++ b/engines/illusions/pathfinder.cpp @@ -83,7 +83,7 @@ PointArray *PathFinder::findPathInternal(Common::Point sourcePt, Common::Point d void PathFinder::postProcess(Common::Point sourcePt, PointArray *foundPath) { // For each three points A, B and C, removes B if the line between A and C is not blocked - for (uint index = 0; index + 2 < foundPath->size(); ++index) { + for (uint index = 0; index + 2 < foundPath->size(); ++index) { PathLine line; line.p0 = index == 0 ? sourcePt : (*foundPath)[index - 1]; line.p1 = (*foundPath)[index + 1]; @@ -91,7 +91,7 @@ void PathFinder::postProcess(Common::Point sourcePt, PointArray *foundPath) { debug("remove point"); foundPath->remove_at(index); } - } + } } bool PathFinder::isLineBlocked(PathLine &line) { |