summaryrefslogtreecommitdiffstats
path: root/source/cChunk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cChunk.cpp')
-rw-r--r--source/cChunk.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/cChunk.cpp b/source/cChunk.cpp
index 86107e1ef..f30602010 100644
--- a/source/cChunk.cpp
+++ b/source/cChunk.cpp
@@ -448,13 +448,6 @@ void cChunk::CreateBlockEntities()
}
}
-unsigned int cChunk::MakeIndex(int x, int y, int z )
-{
- if( x < 16 && x > -1 && y < 128 && y > -1 && z < 16 && z > -1 )
- return y + (z * 128) + (x * 128 * 16);
- return 0;
-}
-
char cChunk::GetLight(char* a_Buffer, int a_BlockIdx)
{
if( a_BlockIdx > -1 && a_BlockIdx < c_NumBlocks )