mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
SCI: AvoidPath: Got rid of a warning.
svn-id: r40399
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user