diff options
author | Mattes D <github@xoft.cz> | 2013-08-15 07:52:24 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2013-08-15 07:52:24 +0200 |
commit | b092c2770c3a2b418df7d279b7d9d48b92d7e9c3 (patch) | |
tree | 60878a8d8806869d39f2276f5b6ab54c5595847f /source/BlockID.cpp | |
parent | Updated CONTRIBUTING.md with basic recommendations (diff) | |
parent | Generation and simulation defaults (diff) | |
download | cuberite-b092c2770c3a2b418df7d279b7d9d48b92d7e9c3.tar cuberite-b092c2770c3a2b418df7d279b7d9d48b92d7e9c3.tar.gz cuberite-b092c2770c3a2b418df7d279b7d9d48b92d7e9c3.tar.bz2 cuberite-b092c2770c3a2b418df7d279b7d9d48b92d7e9c3.tar.lz cuberite-b092c2770c3a2b418df7d279b7d9d48b92d7e9c3.tar.xz cuberite-b092c2770c3a2b418df7d279b7d9d48b92d7e9c3.tar.zst cuberite-b092c2770c3a2b418df7d279b7d9d48b92d7e9c3.zip |
Diffstat (limited to 'source/BlockID.cpp')
-rw-r--r-- | source/BlockID.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/BlockID.cpp b/source/BlockID.cpp index ad96cfa72..05506777c 100644 --- a/source/BlockID.cpp +++ b/source/BlockID.cpp @@ -655,7 +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] = false; + 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; @@ -668,18 +668,19 @@ public: g_BlockPistonBreakable[E_BLOCK_RED_ROSE] = true; g_BlockPistonBreakable[E_BLOCK_REEDS] = true; g_BlockPistonBreakable[E_BLOCK_SNOW] = true; - g_BlockPistonBreakable[E_BLOCK_STATIONARY_LAVA] = false; - g_BlockPistonBreakable[E_BLOCK_STATIONARY_WATER] = false; //This gave pistons the ability to drop water :D + g_BlockPistonBreakable[E_BLOCK_STATIONARY_LAVA] = true; + g_BlockPistonBreakable[E_BLOCK_STATIONARY_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] = false; + 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; |