summaryrefslogtreecommitdiff
path: root/src/game-server/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/map.cpp')
-rw-r--r--src/game-server/map.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/map.cpp b/src/game-server/map.cpp
index 8a3c3e63..e1cebd0e 100644
--- a/src/game-server/map.cpp
+++ b/src/game-server/map.cpp
@@ -203,7 +203,7 @@ Path Map::findSimplePath(int startX, int startY,
if (getWalk(positionX, positionY, walkmask))
{
- path.push_back(Position(positionX, positionY));
+ path.push_back(Point(positionX, positionY));
if ((positionX == destX) && (positionY == destY))
{
@@ -374,7 +374,7 @@ Path Map::findPath(int startX, int startY,
while (pathX != startX || pathY != startY)
{
// Add the new path node to the start of the path list
- path.push_front(Position(pathX, pathY));
+ path.push_front(Point(pathX, pathY));
// Find out the next parent
MetaTile *tile = getMetaTile(pathX, pathY);