From 8e43261d13a81131e0be0bfc75627f7395f78a90 Mon Sep 17 00:00:00 2001 From: Eric Fry Date: Thu, 28 Jun 2018 22:50:20 +1000 Subject: ILLUSIONS: Formatting fixes Simplified some point arithmetic Lock fixedpoint calcs to float rather than double --- engines/illusions/pathfinder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/illusions/pathfinder.cpp') diff --git a/engines/illusions/pathfinder.cpp b/engines/illusions/pathfinder.cpp index 936e855cdb..f021b2d5c5 100644 --- a/engines/illusions/pathfinder.cpp +++ b/engines/illusions/pathfinder.cpp @@ -30,7 +30,7 @@ PointArray *PathFinder::findPath(Camera *camera, Common::Point sourcePt, Common: PointArray *walkPoints, PathLines *walkRects, WidthHeight bgDimensions) { Common::Point cameraPt = camera->getScreenOffset(); _screenRect.p0 = cameraPt; - _screenRect.p1.x = cameraPt.x + 320; //TODO fix me get screen dimentions here. + _screenRect.p1.x = cameraPt.x + 320; //TODO fix me get screen dimensions here. _screenRect.p1.y = cameraPt.y + 200; _walkPoints = walkPoints; _walkRects = walkRects; -- cgit v1.2.3