summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-28 23:51:30 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-28 23:51:30 +0100
commit283a66bcae5f26d2b5038ba0959314a687c4d8b6 (patch)
tree390c60125c07c39f4277e0a86a1e64e36d722f4a /src/BlockInfo.cpp
parentImplemented lilypad placement (diff)
downloadcuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.tar
cuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.tar.gz
cuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.tar.bz2
cuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.tar.lz
cuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.tar.xz
cuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.tar.zst
cuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.zip
Diffstat (limited to '')
-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;