diff options
author | worktycho <work.tycho@gmail.com> | 2015-05-15 19:53:16 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-05-15 19:53:16 +0200 |
commit | c6658af155b607d11a29651afc2c9e9d0082bcec (patch) | |
tree | f8d44ad24952898fe1cf6c282b9ba2128fdd3384 /src/Mobs/Path.h | |
parent | Unify shields. (diff) | |
parent | uniquePTR (diff) | |
download | cuberite-c6658af155b607d11a29651afc2c9e9d0082bcec.tar cuberite-c6658af155b607d11a29651afc2c9e9d0082bcec.tar.gz cuberite-c6658af155b607d11a29651afc2c9e9d0082bcec.tar.bz2 cuberite-c6658af155b607d11a29651afc2c9e9d0082bcec.tar.lz cuberite-c6658af155b607d11a29651afc2c9e9d0082bcec.tar.xz cuberite-c6658af155b607d11a29651afc2c9e9d0082bcec.tar.zst cuberite-c6658af155b607d11a29651afc2c9e9d0082bcec.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 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; |