From e2ad02f50ac69f3789b7e475dbce469eeec29468 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 29 Jan 2012 14:29:26 +0000 Subject: ChunkGenerator: rewritten thread-locking using the new RAII CSLock class git-svn-id: http://mc-server.googlecode.com/svn/trunk@186 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunkMap.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source/cChunkMap.cpp') diff --git a/source/cChunkMap.cpp b/source/cChunkMap.cpp index a6bf6bda0..3cfeb0485 100644 --- a/source/cChunkMap.cpp +++ b/source/cChunkMap.cpp @@ -396,14 +396,15 @@ cChunk* cChunkMap::GetChunk( int a_X, int a_Y, int a_Z ) delete [] Data->m_Compressed; Data->m_Compressed = 0; Data->m_CompressedSize = 0; return Chunk; } - - } } - return 0; } + + + + void cChunkMap::Tick( float a_Dt ) { /* // OLD -- cgit v1.2.3