summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockTorch.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-05 22:15:39 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-05 22:15:39 +0100
commita263dc8e83d1dc805aac8469cc2c740d88336575 (patch)
tree282f0ded16c33662a2f13244c6fa949fcdce182b /source/Blocks/BlockTorch.h
parentRemoved settings/webadmin.example.ini files (diff)
downloadcuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar
cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.gz
cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.bz2
cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.lz
cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.xz
cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.zst
cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.zip
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockTorch.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/source/Blocks/BlockTorch.h b/source/Blocks/BlockTorch.h
index a52b373cb..36383a524 100644
--- a/source/Blocks/BlockTorch.h
+++ b/source/Blocks/BlockTorch.h
@@ -166,19 +166,6 @@ public:
}
- /*
- virtual bool CanBePlacedAt(cWorld * a_World, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace) override
- {
- if (TorchCanBePlacedAt(a_World, a_BlockX, a_BlockY, a_BlockZ, a_BlockFace))
- {
- return true;
- }
-
- return (FindSuitableFace(a_World, a_BlockX, a_BlockY, a_BlockZ) != BLOCK_FACE_BOTTOM);
- }
- */
-
-
virtual bool CanBeAt(int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) override
{
char Face = MetaDataToDirection(a_Chunk.GetMeta(a_RelX, a_RelY, a_RelZ));