summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormgueydan <gueydan.mathieuÃ@gmail.com>2013-09-07 20:00:04 +0200
committermgueydan <gueydan.mathieuÃ@gmail.com>2013-09-07 20:00:59 +0200
commit04aebd944bc988994d2eb2ad2945b1210faf9fb0 (patch)
treeddd90b3528b9a032daea4073b46464de51ca3744
parentFixed a missing initialization in cMonster. (diff)
downloadcuberite-04aebd944bc988994d2eb2ad2945b1210faf9fb0.tar
cuberite-04aebd944bc988994d2eb2ad2945b1210faf9fb0.tar.gz
cuberite-04aebd944bc988994d2eb2ad2945b1210faf9fb0.tar.bz2
cuberite-04aebd944bc988994d2eb2ad2945b1210faf9fb0.tar.lz
cuberite-04aebd944bc988994d2eb2ad2945b1210faf9fb0.tar.xz
cuberite-04aebd944bc988994d2eb2ad2945b1210faf9fb0.tar.zst
cuberite-04aebd944bc988994d2eb2ad2945b1210faf9fb0.zip
-rw-r--r--source/BlockID.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/BlockID.cpp b/source/BlockID.cpp
index b53507f17..c1198dd39 100644
--- a/source/BlockID.cpp
+++ b/source/BlockID.cpp
@@ -598,6 +598,7 @@ public:
g_BlockTransparent[E_BLOCK_GLASS] = true;
g_BlockTransparent[E_BLOCK_ICE] = true;
g_BlockTransparent[E_BLOCK_IRON_DOOR] = true;
+ g_BlockTransparent[E_BLOCK_LAVA] = true;
g_BlockTransparent[E_BLOCK_LEAVES] = true;
g_BlockTransparent[E_BLOCK_LEVER] = true;
g_BlockTransparent[E_BLOCK_MELON_STEM] = true;
@@ -610,11 +611,14 @@ public:
g_BlockTransparent[E_BLOCK_RED_MUSHROOM] = true;
g_BlockTransparent[E_BLOCK_RED_ROSE] = true;
g_BlockTransparent[E_BLOCK_SIGN_POST] = true;
+ g_BlockTransparent[E_BLOCK_STATIONARY_LAVA] = true;
+ g_BlockTransparent[E_BLOCK_STATIONARY_WATER] = true;
g_BlockTransparent[E_BLOCK_STONE_PRESSURE_PLATE] = true;
g_BlockTransparent[E_BLOCK_SNOW] = true;
g_BlockTransparent[E_BLOCK_TALL_GRASS] = true;
g_BlockTransparent[E_BLOCK_TORCH] = true;
g_BlockTransparent[E_BLOCK_VINES] = true;
+ g_BlockTransparent[E_BLOCK_WATER] = true;
g_BlockTransparent[E_BLOCK_WALLSIGN] = true;
g_BlockTransparent[E_BLOCK_WOODEN_DOOR] = true;
g_BlockTransparent[E_BLOCK_WOODEN_PRESSURE_PLATE] = true;