aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/pathfinder.cpp
diff options
context:
space:
mode:
authorEric Fry2018-06-26 22:28:52 +1000
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commit7cadb7ad0ce7b24c28d3fa9d842f7083ae5b9056 (patch)
tree0fe9404404510cadb1586dd1a43e35cda3c1c25f /engines/illusions/pathfinder.cpp
parentaa241b8ef37a09972171159045c9f2efe0c167e9 (diff)
downloadscummvm-rg350-7cadb7ad0ce7b24c28d3fa9d842f7083ae5b9056.tar.gz
scummvm-rg350-7cadb7ad0ce7b24c28d3fa9d842f7083ae5b9056.tar.bz2
scummvm-rg350-7cadb7ad0ce7b24c28d3fa9d842f7083ae5b9056.zip
ILLUSIONS: Formatting
Diffstat (limited to 'engines/illusions/pathfinder.cpp')
-rw-r--r--engines/illusions/pathfinder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/illusions/pathfinder.cpp b/engines/illusions/pathfinder.cpp
index b0b43a0e4f..04ee493428 100644
--- a/engines/illusions/pathfinder.cpp
+++ b/engines/illusions/pathfinder.cpp
@@ -139,10 +139,10 @@ void PathFinder::findValidDestPt(Common::Point &destPt) {
for (uint i = 0; i < _walkRects->size(); ++i) {
PathLine currRect = (*_walkRects)[i];
//TODO fix this hack. Used here to get xmas tree scene to work.
- if(currRect.p1.x > _screenRect.p1.x) {
+ if (currRect.p1.x > _screenRect.p1.x) {
currRect.p1.x = _screenRect.p1.x;
}
- if(currRect.p0.x < _screenRect.p0.x) {
+ if (currRect.p0.x < _screenRect.p0.x) {
currRect.p0.x = _screenRect.p0.x;
}
WidthHeight rectDimensions = calcRectDimensions(currRect);