summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-25 21:31:07 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-25 21:31:07 +0100
commit46c7f75cabc13bdfcbd696605b4f7e254f98a496 (patch)
treec321f190dec0bb045ac1daa60809a4c104631f0a /source
parentImplemented rail placement mechanics. (diff)
downloadcuberite-46c7f75cabc13bdfcbd696605b4f7e254f98a496.tar
cuberite-46c7f75cabc13bdfcbd696605b4f7e254f98a496.tar.gz
cuberite-46c7f75cabc13bdfcbd696605b4f7e254f98a496.tar.bz2
cuberite-46c7f75cabc13bdfcbd696605b4f7e254f98a496.tar.lz
cuberite-46c7f75cabc13bdfcbd696605b4f7e254f98a496.tar.xz
cuberite-46c7f75cabc13bdfcbd696605b4f7e254f98a496.tar.zst
cuberite-46c7f75cabc13bdfcbd696605b4f7e254f98a496.zip
Diffstat (limited to '')
-rw-r--r--source/BlockID.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/BlockID.cpp b/source/BlockID.cpp
index d8e750f46..9a3682615 100644
--- a/source/BlockID.cpp
+++ b/source/BlockID.cpp
@@ -408,6 +408,9 @@ public:
g_BlockTransparent[E_BLOCK_VINES] = true;
g_BlockTransparent[E_BLOCK_WALLSIGN] = true;
g_BlockTransparent[E_BLOCK_YELLOW_FLOWER] = true;
+ g_BlockTransparent[E_BLOCK_RAIL] = true;
+ g_BlockTransparent[E_BLOCK_DETECTOR_RAIL] = true;
+ g_BlockTransparent[E_BLOCK_POWERED_RAIL] = true;
// TODO: Any other transparent blocks?