summaryrefslogtreecommitdiff
path: root/src/game-server/monster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/monster.cpp')
-rw-r--r--src/game-server/monster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/monster.cpp b/src/game-server/monster.cpp
index af2bc7aa..4d13ac0e 100644
--- a/src/game-server/monster.cpp
+++ b/src/game-server/monster.cpp
@@ -349,7 +349,7 @@ int Monster::calculatePositionPriority(Point position, int targetPriority)
return targetPriority *= range;
}
- std::list<PATH_NODE> path;
+ Path path;
path = getMap()->getMap()->findPath(thisPos.x / 32, thisPos.y / 32,
position.x / 32, position.y / 32,
getWalkMask(),