diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-26 03:13:40 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-26 03:13:40 +0100 |
commit | c35db25269ea9549b996cd18c65b05a9f8d43387 (patch) | |
tree | 87c8ef140849ed116d59fdfdc88ac4385d3ce5b7 /source/cChunk.cpp | |
parent | - Ignoring Debug and Release makes it easier to check what should be committed (diff) | |
download | cuberite-c35db25269ea9549b996cd18c65b05a9f8d43387.tar cuberite-c35db25269ea9549b996cd18c65b05a9f8d43387.tar.gz cuberite-c35db25269ea9549b996cd18c65b05a9f8d43387.tar.bz2 cuberite-c35db25269ea9549b996cd18c65b05a9f8d43387.tar.lz cuberite-c35db25269ea9549b996cd18c65b05a9f8d43387.tar.xz cuberite-c35db25269ea9549b996cd18c65b05a9f8d43387.tar.zst cuberite-c35db25269ea9549b996cd18c65b05a9f8d43387.zip |
Diffstat (limited to 'source/cChunk.cpp')
-rw-r--r-- | source/cChunk.cpp | 7 |
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 )
|