summaryrefslogtreecommitdiffstats
path: root/source/cChunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cChunk.h')
-rw-r--r--source/cChunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cChunk.h b/source/cChunk.h
index b794f4153..5bb64697d 100644
--- a/source/cChunk.h
+++ b/source/cChunk.h
@@ -82,7 +82,7 @@ public:
void AddTickBlockEntity( cFurnaceEntity* a_Entity );
void RemoveTickBlockEntity( cFurnaceEntity* a_Entity );
- inline static unsigned int cChunk::MakeIndex(int x, int y, int z )
+ inline static unsigned int 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);