summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Path.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-03-24 17:18:14 +0100
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-04-23 08:54:34 +0200
commit77bf00a5994cc4cbbca57d70fb8e761a2ea2757f (patch)
tree1d4f49943813a5309ef081ae8f9e696a388ba8a4 /src/Mobs/Path.cpp
parentUpdated readme to inform that clang 3.4 is minimum required version. (#3158) (diff)
downloadcuberite-77bf00a5994cc4cbbca57d70fb8e761a2ea2757f.tar
cuberite-77bf00a5994cc4cbbca57d70fb8e761a2ea2757f.tar.gz
cuberite-77bf00a5994cc4cbbca57d70fb8e761a2ea2757f.tar.bz2
cuberite-77bf00a5994cc4cbbca57d70fb8e761a2ea2757f.tar.lz
cuberite-77bf00a5994cc4cbbca57d70fb8e761a2ea2757f.tar.xz
cuberite-77bf00a5994cc4cbbca57d70fb8e761a2ea2757f.tar.zst
cuberite-77bf00a5994cc4cbbca57d70fb8e761a2ea2757f.zip
Diffstat (limited to 'src/Mobs/Path.cpp')
-rw-r--r--src/Mobs/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Path.cpp b/src/Mobs/Path.cpp
index 18090587e..1273b2517 100644
--- a/src/Mobs/Path.cpp
+++ b/src/Mobs/Path.cpp
@@ -250,7 +250,7 @@ bool cPath::StepOnce()
{
if (ProcessIfWalkable(CurrentCell->m_Location + Vector3i(0, y, 1), CurrentCell, NORMAL_G_COST))
{
- DoneWest = true;
+ DoneSouth = true;
if (y == 0)
{
WalkableSouth = true;