diff options
author | tycho <work.tycho@gmail.com> | 2015-12-15 11:46:32 +0100 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-12-16 11:49:42 +0100 |
commit | 2c0ca0b4c3152765f97e9bb3894b55694e979f32 (patch) | |
tree | a091e972981a40fd70c3979691af7cf47d9bf022 /src/Mobs/PathFinder.h | |
parent | Delete copy and move constructors from cPath (diff) | |
download | cuberite-2c0ca0b4c3152765f97e9bb3894b55694e979f32.tar cuberite-2c0ca0b4c3152765f97e9bb3894b55694e979f32.tar.gz cuberite-2c0ca0b4c3152765f97e9bb3894b55694e979f32.tar.bz2 cuberite-2c0ca0b4c3152765f97e9bb3894b55694e979f32.tar.lz cuberite-2c0ca0b4c3152765f97e9bb3894b55694e979f32.tar.xz cuberite-2c0ca0b4c3152765f97e9bb3894b55694e979f32.tar.zst cuberite-2c0ca0b4c3152765f97e9bb3894b55694e979f32.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 312bb950c..1570679bf 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. */ - std::unique_ptr<cPath> m_Path; + cPath m_Path; /** If 0, will give up reaching the next m_WayPoint and will recalculate path. */ int m_GiveUpCounter; |