summaryrefslogtreecommitdiffstats
path: root/src/Defines.h
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-12-27 15:53:05 +0100
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-12-27 15:53:05 +0100
commitdf9825ac09875d58c1da447b736fc59909f68c6f (patch)
tree62468224aa24dcb7ace48eb53dbcfdd341482e47 /src/Defines.h
parentMerge pull request #2825 from Gargaj/snowlayers (diff)
parentDeleted cPath::BlockTypeIsFence (diff)
downloadcuberite-df9825ac09875d58c1da447b736fc59909f68c6f.tar
cuberite-df9825ac09875d58c1da447b736fc59909f68c6f.tar.gz
cuberite-df9825ac09875d58c1da447b736fc59909f68c6f.tar.bz2
cuberite-df9825ac09875d58c1da447b736fc59909f68c6f.tar.lz
cuberite-df9825ac09875d58c1da447b736fc59909f68c6f.tar.xz
cuberite-df9825ac09875d58c1da447b736fc59909f68c6f.tar.zst
cuberite-df9825ac09875d58c1da447b736fc59909f68c6f.zip
Diffstat (limited to 'src/Defines.h')
-rw-r--r--src/Defines.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/Defines.h b/src/Defines.h
index b0589d8a0..e2f72ed84 100644
--- a/src/Defines.h
+++ b/src/Defines.h
@@ -481,13 +481,20 @@ inline bool IsBlockFence(BLOCKTYPE a_BlockType)
{
switch (a_BlockType)
{
- case E_BLOCK_FENCE:
- case E_BLOCK_OAK_FENCE_GATE:
- case E_BLOCK_NETHER_BRICK_FENCE:
+ case E_BLOCK_ACACIA_FENCE:
+ case E_BLOCK_ACACIA_FENCE_GATE:
+ case E_BLOCK_BIRCH_FENCE:
+ case E_BLOCK_BIRCH_FENCE_GATE:
case E_BLOCK_COBBLESTONE_WALL:
case E_BLOCK_DARK_OAK_FENCE:
+ case E_BLOCK_DARK_OAK_FENCE_GATE:
+ case E_BLOCK_FENCE:
+ case E_BLOCK_JUNGLE_FENCE:
+ case E_BLOCK_JUNGLE_FENCE_GATE:
+ case E_BLOCK_NETHER_BRICK_FENCE:
+ case E_BLOCK_OAK_FENCE_GATE:
+ case E_BLOCK_SPRUCE_FENCE:
case E_BLOCK_SPRUCE_FENCE_GATE:
- case E_BLOCK_ACACIA_FENCE:
{
return true;
}