From b48651a034339645baf60a8f8ec68f3227af0ea0 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 11 Aug 2013 21:08:20 +0100 Subject: Really removed comments this time --- source/Blocks/BlockTorch.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source/Blocks') 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]; } } -- cgit v1.2.3 From 83d3635e0bd4784ec0eab34d7aa3eca048d8dfe4 Mon Sep 17 00:00:00 2001 From: STRWarrior Date: Mon, 12 Aug 2013 02:31:02 -0700 Subject: Added quartz stairs. --- source/Blocks/BlockHandler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/Blocks') diff --git a/source/Blocks/BlockHandler.cpp b/source/Blocks/BlockHandler.cpp index b4fc5ab2d..cbca5a4ec 100644 --- a/source/Blocks/BlockHandler.cpp +++ b/source/Blocks/BlockHandler.cpp @@ -152,6 +152,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType) case E_BLOCK_PISTON_EXTENSION: return new cBlockPistonHeadHandler (); case E_BLOCK_PLANKS: return new cBlockWoodHandler (a_BlockType); case E_BLOCK_PUMPKIN_STEM: return new cBlockStemsHandler (a_BlockType); + case E_BLOCK_QUARTZ_STAIR: return new cBlockStairsHandler (a_BlockType); case E_BLOCK_RAIL: return new cBlockRailHandler (a_BlockType); case E_BLOCK_POTATOES: return new cBlockCropsHandler (a_BlockType); case E_BLOCK_POWERED_RAIL: return new cBlockRailHandler (a_BlockType); -- cgit v1.2.3