From 34bdd010c3fbb7dbeaa7eec648a4e39b2da4473b Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Sat, 9 May 2009 09:52:46 +0000 Subject: SCI: AvoidPath: Got rid of a warning. svn-id: r40399 --- engines/sci/engine/kpathing.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp index a6e7799dfc..cf1e7325ac 100644 --- a/engines/sci/engine/kpathing.cpp +++ b/engines/sci/engine/kpathing.cpp @@ -859,6 +859,7 @@ static VertexList *visible_vertices(PathfindingState *s, Vertex *vert) { return visVerts; } +#if 0 static bool point_on_screen_border(const Common::Point &p) { // Determines if a point lies on the screen border // Parameters: (const Common::Point &) p: The point @@ -866,6 +867,7 @@ static bool point_on_screen_border(const Common::Point &p) { // FIXME get dimensions from somewhere? return (p.x == 0) || (p.x == 319) || (p.y == 0) || (p.y == 189); } +#endif static bool edge_on_screen_border(const Common::Point &p, const Common::Point &q) { // Determines if an edge lies on the screen border -- cgit v1.2.3