summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Path.cpp
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-13 06:03:34 +0100
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-13 06:03:34 +0100
commit7501d44258b8d249547168f91ccc5e5e8e2ebe2a (patch)
tree84fa385535a66dd7462e3e1392df71283f3d8280 /src/Mobs/Path.cpp
parentMerge pull request #2735 from SafwatHalaby/mathias2 (diff)
parentStop pathfinding over cobble walls (diff)
downloadcuberite-7501d44258b8d249547168f91ccc5e5e8e2ebe2a.tar
cuberite-7501d44258b8d249547168f91ccc5e5e8e2ebe2a.tar.gz
cuberite-7501d44258b8d249547168f91ccc5e5e8e2ebe2a.tar.bz2
cuberite-7501d44258b8d249547168f91ccc5e5e8e2ebe2a.tar.lz
cuberite-7501d44258b8d249547168f91ccc5e5e8e2ebe2a.tar.xz
cuberite-7501d44258b8d249547168f91ccc5e5e8e2ebe2a.tar.zst
cuberite-7501d44258b8d249547168f91ccc5e5e8e2ebe2a.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Path.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Mobs/Path.cpp b/src/Mobs/Path.cpp
index 06e2afc3f..b98dd0d10 100644
--- a/src/Mobs/Path.cpp
+++ b/src/Mobs/Path.cpp
@@ -148,6 +148,7 @@ bool cPath::IsSolid(const Vector3i & a_Location)
(BlockType == E_BLOCK_FENCE) ||
(BlockType == E_BLOCK_OAK_FENCE_GATE) ||
(BlockType == E_BLOCK_NETHER_BRICK_FENCE) ||
+ (BlockType == E_BLOCK_COBBLESTONE_WALL) ||
((BlockType >= E_BLOCK_SPRUCE_FENCE_GATE) && (BlockType <= E_BLOCK_ACACIA_FENCE))
)
{