From 12903b5ec789547696dcc55aea36e38f5e273cd3 Mon Sep 17 00:00:00 2001 From: Peter Kohaut Date: Tue, 19 Feb 2019 20:22:24 +0100 Subject: BLADERUNNER: Cleanup of pathfinding code --- engines/bladerunner/obstacles.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/bladerunner/obstacles.h') diff --git a/engines/bladerunner/obstacles.h b/engines/bladerunner/obstacles.h index 05ee518a64..f07f3909f6 100644 --- a/engines/bladerunner/obstacles.h +++ b/engines/bladerunner/obstacles.h @@ -100,7 +100,7 @@ public: int buildPositivePath(int polyIndex, int vertStartIndex, Vector2 startPos, int vertEndIndex, Vector2 endPos, Vector2 *path, int pathCapacity, bool *pathBlocked); bool verticesCanIntersect(int lineType0, int lineType1, float x0, float y0, float x1, float y1) const; - bool findFarthestAvailablePathVertex(Vector2 *path, int pathSize, Vector3 from, Vector3 *next) const; + bool findFarthestAvailablePathVertex(Vector2 *path, int pathSize, Vector3 start, Vector3 *next) const; void backup(); void restore(); -- cgit v1.2.3