summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Path.cpp
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-25 19:45:16 +0100
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-25 19:45:16 +0100
commit79e74513166c8b18f268eafe69e9e594f61ab836 (patch)
treed4f34e72cedc09d139da075a6aa157ec093e7c89 /src/Mobs/Path.cpp
parentMerge pull request #2795 from SafwatHalaby/doors (diff)
parentUpdate fences and gates list (diff)
downloadcuberite-79e74513166c8b18f268eafe69e9e594f61ab836.tar
cuberite-79e74513166c8b18f268eafe69e9e594f61ab836.tar.gz
cuberite-79e74513166c8b18f268eafe69e9e594f61ab836.tar.bz2
cuberite-79e74513166c8b18f268eafe69e9e594f61ab836.tar.lz
cuberite-79e74513166c8b18f268eafe69e9e594f61ab836.tar.xz
cuberite-79e74513166c8b18f268eafe69e9e594f61ab836.tar.zst
cuberite-79e74513166c8b18f268eafe69e9e594f61ab836.zip
Diffstat (limited to 'src/Mobs/Path.cpp')
-rw-r--r--src/Mobs/Path.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Mobs/Path.cpp b/src/Mobs/Path.cpp
index 3890650a4..922e28cdb 100644
--- a/src/Mobs/Path.cpp
+++ b/src/Mobs/Path.cpp
@@ -623,12 +623,19 @@ bool cPath::BlockTypeIsFence(BLOCKTYPE a_Type)
{
switch (a_Type)
{
+ case E_BLOCK_COBBLESTONE_WALL:
case E_BLOCK_FENCE:
case E_BLOCK_OAK_FENCE_GATE:
case E_BLOCK_NETHER_BRICK_FENCE:
- case E_BLOCK_COBBLESTONE_WALL:
- case E_BLOCK_DARK_OAK_FENCE:
case E_BLOCK_SPRUCE_FENCE_GATE:
+ case E_BLOCK_BIRCH_FENCE_GATE:
+ case E_BLOCK_JUNGLE_FENCE_GATE:
+ case E_BLOCK_DARK_OAK_FENCE_GATE:
+ case E_BLOCK_ACACIA_FENCE_GATE:
+ case E_BLOCK_SPRUCE_FENCE:
+ case E_BLOCK_BIRCH_FENCE:
+ case E_BLOCK_JUNGLE_FENCE:
+ case E_BLOCK_DARK_OAK_FENCE:
case E_BLOCK_ACACIA_FENCE:
{
return true;