summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockTorch.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-11-19 10:12:23 +0100
committerMattes D <github@xoft.cz>2013-11-19 10:12:23 +0100
commit208f2397f416ecdc790713a13bc5055c0ac43f0f (patch)
tree4ca8e0abb22275856c09c0e20e55b623ed057da2 /source/Blocks/BlockTorch.h
parentMerge branch 'master' of git://github.com/nesco/MCServer. (diff)
parentPossible compile fix (diff)
downloadcuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.gz
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.bz2
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.lz
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.xz
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.tar.zst
cuberite-208f2397f416ecdc790713a13bc5055c0ac43f0f.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;