diff options
author | worktycho <work.tycho@gmail.com> | 2015-05-15 19:55:01 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-05-15 19:55:01 +0200 |
commit | 4605f4f1749d49472ecf7c34a931273a613bbf02 (patch) | |
tree | 627e85f1869cdd56acc28f35c18a2bd7e561bcac /src/Mobs/Path.h | |
parent | Merge pull request #2023 from SafwatHalaby/smartPointers (diff) | |
parent | Revert "PathFinder - smart pointers" (diff) | |
download | cuberite-4605f4f1749d49472ecf7c34a931273a613bbf02.tar cuberite-4605f4f1749d49472ecf7c34a931273a613bbf02.tar.gz cuberite-4605f4f1749d49472ecf7c34a931273a613bbf02.tar.bz2 cuberite-4605f4f1749d49472ecf7c34a931273a613bbf02.tar.lz cuberite-4605f4f1749d49472ecf7c34a931273a613bbf02.tar.xz cuberite-4605f4f1749d49472ecf7c34a931273a613bbf02.tar.zst cuberite-4605f4f1749d49472ecf7c34a931273a613bbf02.zip |
Diffstat (limited to 'src/Mobs/Path.h')
-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 008722d29..adae77984 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, UniquePtr<cPathCell>, VectorHasher> m_Map; + std::unordered_map<Vector3i, cPathCell *, VectorHasher> m_Map; Vector3i m_Destination; Vector3i m_Source; int m_StepsLeft; |