From 62265a0850fecf8c654edee8d63d40d82013f763 Mon Sep 17 00:00:00 2001 From: Gargaj Date: Sun, 13 Dec 2015 00:02:56 +0100 Subject: Stop pathfinding over cobble walls Also 1.5 blocks high, shouldn't pathfind over it. --- src/Mobs/Path.cpp | 1 + 1 file changed, 1 insertion(+) 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)) ) { -- cgit v1.2.3