summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-03-30 16:17:35 +0200
committerworktycho <work.tycho@gmail.com>2014-03-30 16:17:35 +0200
commit5260146f3c5d26c5583a8034eb8b342218a836d7 (patch)
treedf19e59ec8716ac98d0926826c3207348809d750 /src/BlockInfo.cpp
parentcPrefab now uses a struct for block type definition in CharMap. (diff)
parentAnother curly (diff)
downloadcuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.tar
cuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.tar.gz
cuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.tar.bz2
cuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.tar.lz
cuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.tar.xz
cuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.tar.zst
cuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.zip
Diffstat (limited to 'src/BlockInfo.cpp')
-rw-r--r--src/BlockInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp
index 7d438ba3e..6fb5aa5b3 100644
--- a/src/BlockInfo.cpp
+++ b/src/BlockInfo.cpp
@@ -365,7 +365,7 @@ void cBlockInfo::Initialize(void)
ms_Info[E_BLOCK_WOODEN_SLAB ].m_IsSolid = false;
- // Torch placeable blocks:
+ // Blocks that fully occupy their voxel - used as a guide for torch placeable blocks, amongst other things:
ms_Info[E_BLOCK_NEW_LOG ].m_FullyOccupiesVoxel = true;
ms_Info[E_BLOCK_BEDROCK ].m_FullyOccupiesVoxel = true;
ms_Info[E_BLOCK_BLOCK_OF_COAL ].m_FullyOccupiesVoxel = true;
@@ -397,6 +397,7 @@ void cBlockInfo::Initialize(void)
ms_Info[E_BLOCK_HAY_BALE ].m_FullyOccupiesVoxel = true;
ms_Info[E_BLOCK_HUGE_BROWN_MUSHROOM ].m_FullyOccupiesVoxel = true;
ms_Info[E_BLOCK_HUGE_RED_MUSHROOM ].m_FullyOccupiesVoxel = true;
+ ms_Info[E_BLOCK_ICE ].m_FullyOccupiesVoxel = true;
ms_Info[E_BLOCK_IRON_BLOCK ].m_FullyOccupiesVoxel = true;
ms_Info[E_BLOCK_IRON_ORE ].m_FullyOccupiesVoxel = true;
ms_Info[E_BLOCK_JACK_O_LANTERN ].m_FullyOccupiesVoxel = true;