summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-15 22:09:41 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-15 22:09:41 +0200
commit74155f947c4a457ceedebc13ab32929362d2153d (patch)
tree02f44d0c6f9a1d0ff622b7798879ae8692676d17 /src/BlockInfo.cpp
parentMerge pull request #1189 from Masy98/Blocks (diff)
parentRemoved Stairs and carpet from the "isSolid" list to prevent mobs falling through them. (diff)
downloadcuberite-74155f947c4a457ceedebc13ab32929362d2153d.tar
cuberite-74155f947c4a457ceedebc13ab32929362d2153d.tar.gz
cuberite-74155f947c4a457ceedebc13ab32929362d2153d.tar.bz2
cuberite-74155f947c4a457ceedebc13ab32929362d2153d.tar.lz
cuberite-74155f947c4a457ceedebc13ab32929362d2153d.tar.xz
cuberite-74155f947c4a457ceedebc13ab32929362d2153d.tar.zst
cuberite-74155f947c4a457ceedebc13ab32929362d2153d.zip
Diffstat (limited to 'src/BlockInfo.cpp')
-rw-r--r--src/BlockInfo.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp
index d902ea4a6..b4b98a2f0 100644
--- a/src/BlockInfo.cpp
+++ b/src/BlockInfo.cpp
@@ -486,21 +486,15 @@ void cBlockInfo::Initialize(cBlockInfoArray & a_Info)
// Nonsolid blocks:
- a_Info[E_BLOCK_ACACIA_WOOD_STAIRS ].m_IsSolid = false;
a_Info[E_BLOCK_ACTIVATOR_RAIL ].m_IsSolid = false;
a_Info[E_BLOCK_AIR ].m_IsSolid = false;
a_Info[E_BLOCK_BIG_FLOWER ].m_IsSolid = false;
- a_Info[E_BLOCK_BIRCH_WOOD_STAIRS ].m_IsSolid = false;
- a_Info[E_BLOCK_BRICK_STAIRS ].m_IsSolid = false;
a_Info[E_BLOCK_BROWN_MUSHROOM ].m_IsSolid = false;
a_Info[E_BLOCK_CAKE ].m_IsSolid = false;
- a_Info[E_BLOCK_CARPET ].m_IsSolid = false;
a_Info[E_BLOCK_CARROTS ].m_IsSolid = false;
- a_Info[E_BLOCK_COBBLESTONE_STAIRS ].m_IsSolid = false;
a_Info[E_BLOCK_COBWEB ].m_IsSolid = false;
a_Info[E_BLOCK_CROPS ].m_IsSolid = false;
a_Info[E_BLOCK_DANDELION ].m_IsSolid = false;
- a_Info[E_BLOCK_DARK_OAK_WOOD_STAIRS].m_IsSolid = false;
a_Info[E_BLOCK_DETECTOR_RAIL ].m_IsSolid = false;
a_Info[E_BLOCK_END_PORTAL ].m_IsSolid = false;
a_Info[E_BLOCK_FENCE ].m_IsSolid = false;
@@ -508,30 +502,24 @@ void cBlockInfo::Initialize(cBlockInfoArray & a_Info)
a_Info[E_BLOCK_FIRE ].m_IsSolid = false;
a_Info[E_BLOCK_FLOWER ].m_IsSolid = false;
a_Info[E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE].m_IsSolid = false;
- a_Info[E_BLOCK_JUNGLE_WOOD_STAIRS ].m_IsSolid = false;
a_Info[E_BLOCK_LAVA ].m_IsSolid = false;
a_Info[E_BLOCK_LEVER ].m_IsSolid = false;
a_Info[E_BLOCK_LIGHT_WEIGHTED_PRESSURE_PLATE].m_IsSolid = false;
a_Info[E_BLOCK_MELON_STEM ].m_IsSolid = false;
- a_Info[E_BLOCK_NETHER_BRICK_STAIRS ].m_IsSolid = false;
a_Info[E_BLOCK_NETHER_PORTAL ].m_IsSolid = false;
a_Info[E_BLOCK_POTATOES ].m_IsSolid = false;
a_Info[E_BLOCK_POWERED_RAIL ].m_IsSolid = false;
- a_Info[E_BLOCK_QUARTZ_STAIRS ].m_IsSolid = false;
a_Info[E_BLOCK_RAIL ].m_IsSolid = false;
a_Info[E_BLOCK_REDSTONE_TORCH_OFF ].m_IsSolid = false;
a_Info[E_BLOCK_REDSTONE_TORCH_ON ].m_IsSolid = false;
a_Info[E_BLOCK_REDSTONE_WIRE ].m_IsSolid = false;
a_Info[E_BLOCK_RED_MUSHROOM ].m_IsSolid = false;
a_Info[E_BLOCK_REEDS ].m_IsSolid = false;
- a_Info[E_BLOCK_SANDSTONE_STAIRS ].m_IsSolid = false;
a_Info[E_BLOCK_SAPLING ].m_IsSolid = false;
a_Info[E_BLOCK_SIGN_POST ].m_IsSolid = false;
a_Info[E_BLOCK_SNOW ].m_IsSolid = false;
- a_Info[E_BLOCK_SPRUCE_WOOD_STAIRS ].m_IsSolid = false;
a_Info[E_BLOCK_STATIONARY_LAVA ].m_IsSolid = false;
a_Info[E_BLOCK_STATIONARY_WATER ].m_IsSolid = false;
- a_Info[E_BLOCK_STONE_BRICK_STAIRS ].m_IsSolid = false;
a_Info[E_BLOCK_STONE_BUTTON ].m_IsSolid = false;
a_Info[E_BLOCK_STONE_PRESSURE_PLATE].m_IsSolid = false;
a_Info[E_BLOCK_TALL_GRASS ].m_IsSolid = false;
@@ -543,7 +531,6 @@ void cBlockInfo::Initialize(cBlockInfoArray & a_Info)
a_Info[E_BLOCK_WOODEN_BUTTON ].m_IsSolid = false;
a_Info[E_BLOCK_WOODEN_PRESSURE_PLATE].m_IsSolid = false;
a_Info[E_BLOCK_WOODEN_SLAB ].m_IsSolid = false;
- a_Info[E_BLOCK_WOODEN_STAIRS ].m_IsSolid = false;
// Blocks that fully occupy their voxel - used as a guide for torch placeable blocks, amongst other things: