diff options
author | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-12-16 17:39:23 +0100 |
---|---|---|
committer | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-12-16 17:39:23 +0100 |
commit | 3c1f9e8a3a0c70d82f2145f1e03ba846ad2a6399 (patch) | |
tree | 2d9f76057167d166516658f7be4dc3aab82e001d /src/Mobs/PathFinder.h | |
parent | Merge pull request #2754 from Gargaj/horsefix (diff) | |
parent | Changed cPath to have a reset method. (diff) | |
download | cuberite-3c1f9e8a3a0c70d82f2145f1e03ba846ad2a6399.tar cuberite-3c1f9e8a3a0c70d82f2145f1e03ba846ad2a6399.tar.gz cuberite-3c1f9e8a3a0c70d82f2145f1e03ba846ad2a6399.tar.bz2 cuberite-3c1f9e8a3a0c70d82f2145f1e03ba846ad2a6399.tar.lz cuberite-3c1f9e8a3a0c70d82f2145f1e03ba846ad2a6399.tar.xz cuberite-3c1f9e8a3a0c70d82f2145f1e03ba846ad2a6399.tar.zst cuberite-3c1f9e8a3a0c70d82f2145f1e03ba846ad2a6399.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; |