summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockTorch.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-19 08:49:02 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-19 08:49:02 +0100
commitf06d686f63ea564ea4a6ad9eadacf575d1e2c336 (patch)
tree3df2f07ecb50b7a5c2aa2b9e5d5047b743399546 /source/Blocks/BlockTorch.h
parentRedstone Megacommit [SEE DESC] (diff)
downloadcuberite-f06d686f63ea564ea4a6ad9eadacf575d1e2c336.tar
cuberite-f06d686f63ea564ea4a6ad9eadacf575d1e2c336.tar.gz
cuberite-f06d686f63ea564ea4a6ad9eadacf575d1e2c336.tar.bz2
cuberite-f06d686f63ea564ea4a6ad9eadacf575d1e2c336.tar.lz
cuberite-f06d686f63ea564ea4a6ad9eadacf575d1e2c336.tar.xz
cuberite-f06d686f63ea564ea4a6ad9eadacf575d1e2c336.tar.zst
cuberite-f06d686f63ea564ea4a6ad9eadacf575d1e2c336.zip
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockTorch.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/Blocks/BlockTorch.h b/source/Blocks/BlockTorch.h
index 36383a524..72a313126 100644
--- a/source/Blocks/BlockTorch.h
+++ b/source/Blocks/BlockTorch.h
@@ -169,8 +169,6 @@ public:
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));
- int BlockX = a_RelX + a_Chunk.GetPosX() * cChunkDef::Width;
- int BlockZ = a_RelZ + a_Chunk.GetPosZ() * cChunkDef::Width;
AddFaceDirection(a_RelX, a_RelY, a_RelZ, Face, true);
BLOCKTYPE BlockInQuestion;