summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Path.h
diff options
context:
space:
mode:
authorSafwatHalaby <SafwatHalaby@users.noreply.github.com>2015-05-15 19:25:44 +0200
committerMattes D <github@xoft.cz>2015-05-16 10:38:58 +0200
commit4ffc6621a9ca976f95eeda80e7c073ee932af85f (patch)
tree81cd2b253377b43374685d79259b3cb104fc6ad9 /src/Mobs/Path.h
parentNewsletter, content tweak. (diff)
downloadcuberite-4ffc6621a9ca976f95eeda80e7c073ee932af85f.tar
cuberite-4ffc6621a9ca976f95eeda80e7c073ee932af85f.tar.gz
cuberite-4ffc6621a9ca976f95eeda80e7c073ee932af85f.tar.bz2
cuberite-4ffc6621a9ca976f95eeda80e7c073ee932af85f.tar.lz
cuberite-4ffc6621a9ca976f95eeda80e7c073ee932af85f.tar.xz
cuberite-4ffc6621a9ca976f95eeda80e7c073ee932af85f.tar.zst
cuberite-4ffc6621a9ca976f95eeda80e7c073ee932af85f.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Path.h b/src/Mobs/Path.h
index adae77984..008722d29 100644
--- a/src/Mobs/Path.h
+++ b/src/Mobs/Path.h
@@ -131,7 +131,7 @@ private:
/* Pathfinding fields */
std::priority_queue<cPathCell *, std::vector<cPathCell *>, compareHeuristics> m_OpenList;
- std::unordered_map<Vector3i, cPathCell *, VectorHasher> m_Map;
+ std::unordered_map<Vector3i, UniquePtr<cPathCell>, VectorHasher> m_Map;
Vector3i m_Destination;
Vector3i m_Source;
int m_StepsLeft;