From ab9debf3fa91f3b36c6739f4affbdc187e78113d Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 13 Mar 2005 01:16:52 +0000 Subject: * Moved Being public char *speech to private std::string speech * Moved Being public PATH_NODE *path to private std::list path * Fixed warping issue which corrupted player (which also applies to respawning) * Got rid of sound error in Setup window --- src/map.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map.h') 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 /** * 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 findPath( + int startX, int startY, int destX, int destY); private: int width, height; -- cgit v1.2.3-60-g2f50