diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-13 16:44:10 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-13 16:44:10 +0200 |
commit | f5b9f5f41c70966d13200ac7e1474064a3f2bc45 (patch) | |
tree | 159b092f52497fa6be6a9b9ad7d61c019dbe6d69 /source/Blocks/BlockTorch.h | |
parent | Removed unneeded case clause (diff) | |
download | cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.tar cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.tar.gz cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.tar.bz2 cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.tar.lz cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.tar.xz cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.tar.zst cuberite-f5b9f5f41c70966d13200ac7e1474064a3f2bc45.zip |
Diffstat (limited to 'source/Blocks/BlockTorch.h')
-rw-r--r-- | source/Blocks/BlockTorch.h | 7 |
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]; } } |