diff options
author | Lukas Pioch <lukas@zgow.de> | 2015-12-15 01:16:36 +0100 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2015-12-15 01:16:36 +0100 |
commit | 1515d37684b469f212bb9858cca6128d74e591b6 (patch) | |
tree | 56094fc34363c2afdfb9eb3cc444f15646945e85 /src/Mobs/PathFinder.h | |
parent | Merge pull request #2638 from Gargaj/master (diff) | |
download | cuberite-1515d37684b469f212bb9858cca6128d74e591b6.tar cuberite-1515d37684b469f212bb9858cca6128d74e591b6.tar.gz cuberite-1515d37684b469f212bb9858cca6128d74e591b6.tar.bz2 cuberite-1515d37684b469f212bb9858cca6128d74e591b6.tar.lz cuberite-1515d37684b469f212bb9858cca6128d74e591b6.tar.xz cuberite-1515d37684b469f212bb9858cca6128d74e591b6.tar.zst cuberite-1515d37684b469f212bb9858cca6128d74e591b6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/PathFinder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/PathFinder.h b/src/Mobs/PathFinder.h index 1570679bf..312bb950c 100644 --- a/src/Mobs/PathFinder.h +++ b/src/Mobs/PathFinder.h @@ -52,7 +52,7 @@ private: double m_Height; /** The current cPath instance we have. This is discarded and recreated when a path recalculation is needed. */ - cPath m_Path; + std::unique_ptr<cPath> m_Path; /** If 0, will give up reaching the next m_WayPoint and will recalculate path. */ int m_GiveUpCounter; |