summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-05 00:15:27 +0100
committerIra Rice <irarice@gmail.com>2009-01-05 20:43:04 -0700
commit4b540f3007e18a85a6d31d301526217393792451 (patch)
tree0cd424a18cf65505e32507a9c356a7182f0a489d /src/map.cpp
parentb6e7b6c6cb3ea26157e3a78713cc9621dc46b2d7 (diff)
downloadMana-4b540f3007e18a85a6d31d301526217393792451.tar.gz
Mana-4b540f3007e18a85a6d31d301526217393792451.tar.bz2
Mana-4b540f3007e18a85a6d31d301526217393792451.tar.xz
Mana-4b540f3007e18a85a6d31d301526217393792451.zip
Renamed PATH_NODE to Position as on mainline
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 02b046fb..217a14e3 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -480,7 +480,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);