summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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];
}
}