summaryrefslogtreecommitdiffstats
path: root/source/BlockID.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-14 12:50:21 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-14 12:50:21 +0200
commit4ae1750da200c25ddc95eeb962f2e9626013f5a0 (patch)
treeaac0a03759c305ceef7e016395825a59e403c32a /source/BlockID.cpp
parentBuncha bugfixes [SEE DESC] (diff)
downloadcuberite-4ae1750da200c25ddc95eeb962f2e9626013f5a0.tar
cuberite-4ae1750da200c25ddc95eeb962f2e9626013f5a0.tar.gz
cuberite-4ae1750da200c25ddc95eeb962f2e9626013f5a0.tar.bz2
cuberite-4ae1750da200c25ddc95eeb962f2e9626013f5a0.tar.lz
cuberite-4ae1750da200c25ddc95eeb962f2e9626013f5a0.tar.xz
cuberite-4ae1750da200c25ddc95eeb962f2e9626013f5a0.tar.zst
cuberite-4ae1750da200c25ddc95eeb962f2e9626013f5a0.zip
Diffstat (limited to '')
-rw-r--r--source/BlockID.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/BlockID.cpp b/source/BlockID.cpp
index 35668d0b4..05506777c 100644
--- a/source/BlockID.cpp
+++ b/source/BlockID.cpp
@@ -655,6 +655,7 @@ public:
g_BlockPistonBreakable[E_BLOCK_IRON_DOOR] = true;
g_BlockPistonBreakable[E_BLOCK_JACK_O_LANTERN] = true;
g_BlockPistonBreakable[E_BLOCK_LADDER] = true;
+ g_BlockPistonBreakable[E_BLOCK_LAVA] = true;
g_BlockPistonBreakable[E_BLOCK_LEVER] = true;
g_BlockPistonBreakable[E_BLOCK_MELON] = true;
g_BlockPistonBreakable[E_BLOCK_MELON_STEM] = true;
@@ -669,17 +670,17 @@ public:
g_BlockPistonBreakable[E_BLOCK_SNOW] = true;
g_BlockPistonBreakable[E_BLOCK_STATIONARY_LAVA] = true;
g_BlockPistonBreakable[E_BLOCK_STATIONARY_WATER] = true;
- g_BlockPistonBreakable[E_BLOCK_LAVA] = true;
- g_BlockPistonBreakable[E_BLOCK_WATER] = true;
g_BlockPistonBreakable[E_BLOCK_STONE_BUTTON] = true;
g_BlockPistonBreakable[E_BLOCK_STONE_PRESSURE_PLATE] = true;
g_BlockPistonBreakable[E_BLOCK_TALL_GRASS] = true;
g_BlockPistonBreakable[E_BLOCK_TORCH] = true;
g_BlockPistonBreakable[E_BLOCK_VINES] = true;
+ g_BlockPistonBreakable[E_BLOCK_WATER] = true;
g_BlockPistonBreakable[E_BLOCK_WOODEN_DOOR] = true;
g_BlockPistonBreakable[E_BLOCK_WOODEN_PRESSURE_PLATE] = true;
g_BlockPistonBreakable[E_BLOCK_YELLOW_FLOWER] = true;
+
// Blocks that can be snowed over:
g_BlockIsSnowable[E_BLOCK_AIR] = false;
g_BlockIsSnowable[E_BLOCK_BROWN_MUSHROOM] = false;