summaryrefslogtreecommitdiff
path: root/src/map/path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/path.hpp')
-rw-r--r--src/map/path.hpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/map/path.hpp b/src/map/path.hpp
index 47b9814..3619e2e 100644
--- a/src/map/path.hpp
+++ b/src/map/path.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_MAP_PATH_HPP
-#define TMWA_MAP_PATH_HPP
+#pragma once
// path.hpp - Pathfinding system.
//
// Copyright © ????-2004 Athena Dev Teams
@@ -21,10 +20,10 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+#include "fwd.hpp"
-# include "map.hpp"
+namespace tmwa
+{
int path_search(struct walkpath_data *, map_local *, int, int, int, int, int);
-
-#endif // TMWA_MAP_PATH_HPP
+} // namespace tmwa