diff options
author | SafwatHalaby <SafwatHalaby@users.noreply.github.com> | 2015-05-15 19:25:44 +0200 |
---|---|---|
committer | SafwatHalaby <SafwatHalaby@users.noreply.github.com> | 2015-05-15 19:25:44 +0200 |
commit | a8878dd2b6cee69b7cc92b19c740cc4deb7c9735 (patch) | |
tree | f43a8b0a7b66e741f3b7cfaa7dc0d485be4980bd /src/Mobs/Path.h | |
parent | Merge pull request #2022 from mc-server/ForEachCommandAPIFix (diff) | |
download | cuberite-a8878dd2b6cee69b7cc92b19c740cc4deb7c9735.tar cuberite-a8878dd2b6cee69b7cc92b19c740cc4deb7c9735.tar.gz cuberite-a8878dd2b6cee69b7cc92b19c740cc4deb7c9735.tar.bz2 cuberite-a8878dd2b6cee69b7cc92b19c740cc4deb7c9735.tar.lz cuberite-a8878dd2b6cee69b7cc92b19c740cc4deb7c9735.tar.xz cuberite-a8878dd2b6cee69b7cc92b19c740cc4deb7c9735.tar.zst cuberite-a8878dd2b6cee69b7cc92b19c740cc4deb7c9735.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Path.h | 2 |
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; |