summaryrefslogtreecommitdiffstats
path: root/source/Blocks
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-11 22:08:20 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-11 22:08:20 +0200
commitb48651a034339645baf60a8f8ec68f3227af0ea0 (patch)
tree35bb1dac19d40878f3759f4c37a85f45e0cbb9a2 /source/Blocks
parentMerge pull request #74 from tigerw/master (diff)
downloadcuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.tar
cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.tar.gz
cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.tar.bz2
cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.tar.lz
cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.tar.xz
cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.tar.zst
cuberite-b48651a034339645baf60a8f8ec68f3227af0ea0.zip
Diffstat (limited to 'source/Blocks')
-rw-r--r--source/Blocks/BlockTorch.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/Blocks/BlockTorch.h b/source/Blocks/BlockTorch.h
index f774e15a0..99c1a7b75 100644
--- a/source/Blocks/BlockTorch.h
+++ b/source/Blocks/BlockTorch.h
@@ -109,17 +109,10 @@ public:
static bool CanBePlacedOn(BLOCKTYPE a_BlockType, char a_Direction)
{
- //case E_BLOCK_GLASS:
- //case E_BLOCK_FENCE:
- //case E_BLOCK_NETHER_BRICK_FENCE:
- //case E_BLOCK_PISTON:
- //case E_BLOCK_IRON_BARS
if ( g_BlockIsSolid[a_BlockType] ) {
return (a_Direction == 0x1); // allow only direction "standing on floor"
}
else {
- //default:
- //{
return g_BlockIsSolid[a_BlockType];
}
}