diff options
author | wiseoldman95 <softwatt@gmx.com> | 2015-05-03 08:45:27 +0200 |
---|---|---|
committer | wiseoldman95 <softwatt@gmx.com> | 2015-05-03 09:49:06 +0200 |
commit | 599ad97b65139ad450e6f89e39b787c881f76672 (patch) | |
tree | 6976cddd3fc8b81fe0853bf3b6da019c5f9b5c24 /src/Mobs/Path.h | |
parent | Merge pull request #1925 from SafwatHalaby/PathFinder_Optimze (diff) | |
download | cuberite-599ad97b65139ad450e6f89e39b787c881f76672.tar cuberite-599ad97b65139ad450e6f89e39b787c881f76672.tar.gz cuberite-599ad97b65139ad450e6f89e39b787c881f76672.tar.bz2 cuberite-599ad97b65139ad450e6f89e39b787c881f76672.tar.lz cuberite-599ad97b65139ad450e6f89e39b787c881f76672.tar.xz cuberite-599ad97b65139ad450e6f89e39b787c881f76672.tar.zst cuberite-599ad97b65139ad450e6f89e39b787c881f76672.zip |
Diffstat (limited to 'src/Mobs/Path.h')
-rw-r--r-- | src/Mobs/Path.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Path.h b/src/Mobs/Path.h index 9927d0a34..1bce0ace0 100644 --- a/src/Mobs/Path.h +++ b/src/Mobs/Path.h @@ -52,7 +52,7 @@ public: @param a_EndingPoint "The block where the Zombie's knees want to be". @param a_MaxSteps The maximum steps before giving up. */ cPath( - cChunk * a_Chunk, + cChunk & a_Chunk, const Vector3d & a_StartingPoint, const Vector3d & a_EndingPoint, int a_MaxSteps, double a_BoundingBoxWidth = 1, double a_BoundingBoxHeight = 2, int a_MaxUp = 1, int a_MaxDown = 1 @@ -62,7 +62,7 @@ public: ~cPath(); /** Performs part of the path calculation and returns true if the path computation has finished. */ - ePathFinderStatus Step(cChunk * a_Chunk); + ePathFinderStatus Step(cChunk & a_Chunk); /* Point retrieval functions, inlined for performance. */ /** Returns the next point in the path. */ |