diff options
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 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); |