forked from Kolyah35/minecraft-pe-0.6.1
FIX: crash while joining to large world server
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
/*static*/
|
||||
bool LevelChunk::touchedSky = false;
|
||||
const int LevelChunk::ChunkBlockCount = LevelConstants::CHUNK_BLOCK_COUNT;
|
||||
int LevelChunk::ChunkBlockCount;
|
||||
|
||||
LevelChunk::LevelChunk( Level* level, int x, int z )
|
||||
: level(level),
|
||||
|
||||
@@ -106,7 +106,7 @@ private:
|
||||
void recalcHeight(int x, int yStart, int z);
|
||||
public:
|
||||
static bool touchedSky;
|
||||
static const int ChunkBlockCount;
|
||||
static int ChunkBlockCount;
|
||||
const int ChunkSize = ChunkBlockCount;
|
||||
static const int UpdateMapBitShift = 4; // power of (LevelConstants::LEVEL_HEIGHT / 8) == 16
|
||||
|
||||
|
||||
Reference in New Issue
Block a user