summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2014-03-08 12:44:16 +0100
committerAlexander Harkness <bearbin@gmail.com>2014-03-08 12:44:16 +0100
commit4638d8f5e2caf89cdc5e57d97bf5819142ccc528 (patch)
tree1ad72c31e6e4bb8d8dd9281e2bc5b8bde471e779 /src/BlockInfo.cpp
parentMerge pull request #764 from xdot/master (diff)
parentcBlockInfo-related changes from #723 (diff)
downloadcuberite-4638d8f5e2caf89cdc5e57d97bf5819142ccc528.tar
cuberite-4638d8f5e2caf89cdc5e57d97bf5819142ccc528.tar.gz
cuberite-4638d8f5e2caf89cdc5e57d97bf5819142ccc528.tar.bz2
cuberite-4638d8f5e2caf89cdc5e57d97bf5819142ccc528.tar.lz
cuberite-4638d8f5e2caf89cdc5e57d97bf5819142ccc528.tar.xz
cuberite-4638d8f5e2caf89cdc5e57d97bf5819142ccc528.tar.zst
cuberite-4638d8f5e2caf89cdc5e57d97bf5819142ccc528.zip
Diffstat (limited to '')
-rw-r--r--src/BlockInfo.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp
index 399efcd9b..20336a07c 100644
--- a/src/BlockInfo.cpp
+++ b/src/BlockInfo.cpp
@@ -271,6 +271,11 @@ void cBlockInfo::Initialize(void)
ms_Info[E_BLOCK_VINES ].m_IsSnowable = false;
ms_Info[E_BLOCK_WALLSIGN ].m_IsSnowable = false;
ms_Info[E_BLOCK_WATER ].m_IsSnowable = false;
+ ms_Info[E_BLOCK_RAIL ].m_IsSnowable = false;
+ ms_Info[E_BLOCK_ACTIVATOR_RAIL ].m_IsSnowable = false;
+ ms_Info[E_BLOCK_POWERED_RAIL ].m_IsSnowable = false;
+ ms_Info[E_BLOCK_DETECTOR_RAIL ].m_IsSnowable = false;
+ ms_Info[E_BLOCK_COBWEB ].m_IsSnowable = false;
// Blocks that don't drop without a special tool:
@@ -309,6 +314,10 @@ void cBlockInfo::Initialize(void)
ms_Info[E_BLOCK_STONE_PRESSURE_PLATE].m_RequiresSpecialTool = true;
ms_Info[E_BLOCK_STONE_SLAB ].m_RequiresSpecialTool = true;
ms_Info[E_BLOCK_VINES ].m_RequiresSpecialTool = true;
+ ms_Info[E_BLOCK_FURNACE ].m_RequiresSpecialTool = true;
+ ms_Info[E_BLOCK_LIT_FURNACE ].m_RequiresSpecialTool = true;
+ ms_Info[E_BLOCK_ANVIL ].m_RequiresSpecialTool = true;
+ ms_Info[E_BLOCK_ENCHANTMENT_TABLE ].m_RequiresSpecialTool = true;
// Nonsolid blocks: