1
0
Fork 0

Stop pathfinding over cobble walls

Also 1.5 blocks high, shouldn't pathfind over it.
This commit is contained in:
Gargaj 2015-12-13 00:02:56 +01:00
parent 6995af05fe
commit 62265a0850
1 changed files with 1 additions and 0 deletions

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