From 7cadb7ad0ce7b24c28d3fa9d842f7083ae5b9056 Mon Sep 17 00:00:00 2001 From: Eric Fry Date: Tue, 26 Jun 2018 22:28:52 +1000 Subject: ILLUSIONS: Formatting --- engines/illusions/pathfinder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/illusions/pathfinder.cpp') 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); -- cgit v1.2.3