summaryrefslogtreecommitdiffstats
path: root/source/BlockID.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-08-20 21:29:16 +0200
committerMattes D <github@xoft.cz>2013-08-20 21:29:16 +0200
commit61e17d23f7c45549473ea8250469d001ae49e6ad (patch)
tree31fe057313b002bf3f012c90419c83d527561741 /source/BlockID.cpp
parentHotfix for #83. (diff)
parentJuggled piston code to prioritise block action (diff)
downloadcuberite-61e17d23f7c45549473ea8250469d001ae49e6ad.tar
cuberite-61e17d23f7c45549473ea8250469d001ae49e6ad.tar.gz
cuberite-61e17d23f7c45549473ea8250469d001ae49e6ad.tar.bz2
cuberite-61e17d23f7c45549473ea8250469d001ae49e6ad.tar.lz
cuberite-61e17d23f7c45549473ea8250469d001ae49e6ad.tar.xz
cuberite-61e17d23f7c45549473ea8250469d001ae49e6ad.tar.zst
cuberite-61e17d23f7c45549473ea8250469d001ae49e6ad.zip
Diffstat (limited to 'source/BlockID.cpp')
-rw-r--r--source/BlockID.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/BlockID.cpp b/source/BlockID.cpp
index 0345614c5..40664647a 100644
--- a/source/BlockID.cpp
+++ b/source/BlockID.cpp
@@ -584,6 +584,7 @@ public:
// Transparent blocks
g_BlockTransparent[E_BLOCK_AIR] = true;
+ g_BlockTransparent[E_BLOCK_ACTIVATOR_RAIL] = true;
g_BlockTransparent[E_BLOCK_BROWN_MUSHROOM] = true;
g_BlockTransparent[E_BLOCK_CARROTS] = true;
g_BlockTransparent[E_BLOCK_CHEST] = true;
@@ -603,6 +604,7 @@ public:
g_BlockTransparent[E_BLOCK_NETHER_BRICK_FENCE] = true;
g_BlockTransparent[E_BLOCK_POTATOES] = true;
g_BlockTransparent[E_BLOCK_POWERED_RAIL] = true;
+ g_BlockTransparent[E_BLOCK_PISTON_EXTENSION] = true;
g_BlockTransparent[E_BLOCK_PUMPKIN_STEM] = true;
g_BlockTransparent[E_BLOCK_RAIL] = true;
g_BlockTransparent[E_BLOCK_RED_MUSHROOM] = true;