aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/pathfinder.cpp
diff options
context:
space:
mode:
authorEric Fry2018-06-28 22:50:20 +1000
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commit8e43261d13a81131e0be0bfc75627f7395f78a90 (patch)
treee6f2d38900233da689bb59d3ec293f14b510a4b6 /engines/illusions/pathfinder.cpp
parentfee1f3d8cb065182322bc80aba39a66a1b4b0cfb (diff)
downloadscummvm-rg350-8e43261d13a81131e0be0bfc75627f7395f78a90.tar.gz
scummvm-rg350-8e43261d13a81131e0be0bfc75627f7395f78a90.tar.bz2
scummvm-rg350-8e43261d13a81131e0be0bfc75627f7395f78a90.zip
ILLUSIONS: Formatting fixes
Simplified some point arithmetic Lock fixedpoint calcs to float rather than double
Diffstat (limited to 'engines/illusions/pathfinder.cpp')
-rw-r--r--engines/illusions/pathfinder.cpp2
1 files changed, 1 insertions, 1 deletions
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;