summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 7c00bfa8..d56928d0 100644
--- a/src/map.h
+++ b/src/map.h
@@ -27,6 +27,7 @@
#include "being.h"
#include "graphics.h"
#include "resources/image.h"
+#include <list>
/**
* A meta tile stores additional information about a location on a tile map.
@@ -155,7 +156,8 @@ class Map
/**
* Find a path from one location to the next.
*/
- PATH_NODE *findPath(int startX, int startY, int destX, int destY);
+ std::list<PATH_NODE> findPath(
+ int startX, int startY, int destX, int destY);
private:
int width, height;