1
0

Merge pull request #2739 from Gargaj/patch-6

Stop pathfinding over cobble walls
This commit is contained in:
Safwat Halaby 2015-12-13 07:03:34 +02:00
commit 7501d44258

View File

@ -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))
)
{