diff options
author | Walter van Niftrik | 2009-05-09 09:52:46 +0000 |
---|---|---|
committer | Walter van Niftrik | 2009-05-09 09:52:46 +0000 |
commit | 34bdd010c3fbb7dbeaa7eec648a4e39b2da4473b (patch) | |
tree | 5df5d02d0d5ae47ef73c81f8eacd183fc8a73f8b | |
parent | 90cef59d3b2afb05c70049941b99966e515a3d23 (diff) | |
download | scummvm-rg350-34bdd010c3fbb7dbeaa7eec648a4e39b2da4473b.tar.gz scummvm-rg350-34bdd010c3fbb7dbeaa7eec648a4e39b2da4473b.tar.bz2 scummvm-rg350-34bdd010c3fbb7dbeaa7eec648a4e39b2da4473b.zip |
SCI: AvoidPath: Got rid of a warning.
svn-id: r40399
-rw-r--r-- | engines/sci/engine/kpathing.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |