summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 6baf7411..1cf3c922 100644
--- a/src/map.h
+++ b/src/map.h
@@ -258,6 +258,13 @@ class Map : public Properties
const std::string &getName() const;
/**
+ * Find a simple path from one location to the next.
+ */
+ Path findSimplePath(int startX, int startY,
+ int destX, int destY,
+ unsigned char walkmask);
+
+ /**
* Find a path from one location to the next.
*/
Path findPath(int startX, int startY, int destX, int destY,