summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-19 19:13:48 +0200
committerMattes D <github@xoft.cz>2014-10-19 19:13:48 +0200
commit8fbd65e77559f7324e217428baafd220331ca427 (patch)
tree4037415eb2f534a3c822f753b7773594728d3963 /src/Chunk.cpp
parentRemoved obsolete tr1::shared_ptr. (diff)
parentFixed error with non-const function (diff)
downloadcuberite-8fbd65e77559f7324e217428baafd220331ca427.tar
cuberite-8fbd65e77559f7324e217428baafd220331ca427.tar.gz
cuberite-8fbd65e77559f7324e217428baafd220331ca427.tar.bz2
cuberite-8fbd65e77559f7324e217428baafd220331ca427.tar.lz
cuberite-8fbd65e77559f7324e217428baafd220331ca427.tar.xz
cuberite-8fbd65e77559f7324e217428baafd220331ca427.tar.zst
cuberite-8fbd65e77559f7324e217428baafd220331ca427.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index d03e0bf21..7d6d88b26 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -2614,7 +2614,7 @@ BLOCKTYPE cChunk::GetBlock(int a_RelX, int a_RelY, int a_RelZ) const
-void cChunk::GetBlockTypeMeta(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta)
+void cChunk::GetBlockTypeMeta(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta) const
{
a_BlockType = GetBlock(a_RelX, a_RelY, a_RelZ);
a_BlockMeta = m_ChunkData.GetMeta(a_RelX, a_RelY, a_RelZ);