From c7fa610be3b6e072d3da4611f6de72390ebbf446 Mon Sep 17 00:00:00 2001 From: "mtilden@gmail.com" Date: Mon, 26 Dec 2011 09:09:47 +0000 Subject: - Linux compatible fixes including updated makefile - Mersenne Twister still says uint32 but it's now signed for compatibility with random uses needing negative values - Server seed is sent to clients, but needs to be able to be signed long long later on for authentic reasons - Protocol Version is required to match to ensure client compatibility, this should probably have a settings.ini check as well as store the value there git-svn-id: http://mc-server.googlecode.com/svn/trunk@121 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cChunk.h') 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); -- cgit v1.2.3