diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-05 00:15:27 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-05 00:15:27 +0100 |
commit | 12d4837d4d8bb6cbb5d4cd4199bb77b76108fa51 (patch) | |
tree | 3ceed68ebd672f564c11818efb0a793e43f0acc7 /src/map.cpp | |
parent | 81ca2120284ac7fd84e22ee61545b2b789f982e7 (diff) | |
download | mana-12d4837d4d8bb6cbb5d4cd4199bb77b76108fa51.tar.gz mana-12d4837d4d8bb6cbb5d4cd4199bb77b76108fa51.tar.bz2 mana-12d4837d4d8bb6cbb5d4cd4199bb77b76108fa51.tar.xz mana-12d4837d4d8bb6cbb5d4cd4199bb77b76108fa51.zip |
Renamed PATH_NODE to Position as on mainline
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index 6e33d255..6170adef 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -485,7 +485,7 @@ Path Map::findPath(int startX, int startY, int destX, int destY) while (pathX != startX || pathY != startY) { // Add the new path node to the start of the path list - path.push_front(PATH_NODE(pathX, pathY)); + path.push_front(Position(pathX, pathY)); // Find out the next parent MetaTile *tile = getMetaTile(pathX, pathY); |