diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-23 12:38:10 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-23 12:38:10 +0100 |
commit | 8f85b9c625e5e0fa4e2cb41a94246d11dc603052 (patch) | |
tree | 2fc7e2ee2f7bae46659e363aeff4856447aff6c9 /source/cChunk.cpp | |
parent | Added cmdline parameters "/cdg" and "/cdf" for crashdump flags "globals" and "full memory" (diff) | |
download | cuberite-8f85b9c625e5e0fa4e2cb41a94246d11dc603052.tar cuberite-8f85b9c625e5e0fa4e2cb41a94246d11dc603052.tar.gz cuberite-8f85b9c625e5e0fa4e2cb41a94246d11dc603052.tar.bz2 cuberite-8f85b9c625e5e0fa4e2cb41a94246d11dc603052.tar.lz cuberite-8f85b9c625e5e0fa4e2cb41a94246d11dc603052.tar.xz cuberite-8f85b9c625e5e0fa4e2cb41a94246d11dc603052.tar.zst cuberite-8f85b9c625e5e0fa4e2cb41a94246d11dc603052.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cChunk.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/cChunk.cpp b/source/cChunk.cpp index a011bde51..95f0612c3 100644 --- a/source/cChunk.cpp +++ b/source/cChunk.cpp @@ -69,7 +69,6 @@ sSetBlock::sSetBlock( int a_X, int a_Y, int a_Z, char a_BlockType, char a_BlockM cChunk::cChunk(int a_X, int a_Y, int a_Z, cChunkMap * a_ChunkMap, cWorld * a_World)
: m_bCalculateLighting( false )
- , m_bCalculateHeightmap( false )
, m_PosX( a_X )
, m_PosY( a_Y )
, m_PosZ( a_Z )
@@ -310,10 +309,6 @@ void cChunk::Tick(float a_Dt, MTRand & a_TickRandom) {
CalculateLighting();
}
- if (m_bCalculateHeightmap)
- {
- CalculateHeightmap();
- }
cCSLock Lock(m_CSBlockLists);
unsigned int PendingSendBlocks = m_PendingSendBlocks.size();
@@ -611,7 +606,6 @@ void cChunk::CreateBlockEntities(void) void cChunk::CalculateHeightmap()
{
- m_bCalculateHeightmap = false;
for (int x = 0; x < 16; x++)
{
for (int z = 0; z < 16; z++)
|