summaryrefslogtreecommitdiffstats
path: root/source/cChunk.cpp
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-09 02:31:19 +0100
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-09 02:31:19 +0100
commit744c0187ba3413d29c008f8ff5177f54540bf65b (patch)
treef31055885dceea455f94b0e2d85c8d2fc2fc9edf /source/cChunk.cpp
parentBroke something in the filters file, fixed now (diff)
downloadcuberite-744c0187ba3413d29c008f8ff5177f54540bf65b.tar
cuberite-744c0187ba3413d29c008f8ff5177f54540bf65b.tar.gz
cuberite-744c0187ba3413d29c008f8ff5177f54540bf65b.tar.bz2
cuberite-744c0187ba3413d29c008f8ff5177f54540bf65b.tar.lz
cuberite-744c0187ba3413d29c008f8ff5177f54540bf65b.tar.xz
cuberite-744c0187ba3413d29c008f8ff5177f54540bf65b.tar.zst
cuberite-744c0187ba3413d29c008f8ff5177f54540bf65b.zip
Diffstat (limited to '')
-rw-r--r--source/cChunk.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/cChunk.cpp b/source/cChunk.cpp
index a9c40bfe0..12b54c25e 100644
--- a/source/cChunk.cpp
+++ b/source/cChunk.cpp
@@ -215,7 +215,7 @@ void cChunk::Tick(float a_Dt)
std::map< unsigned int, int > ToTickBlocks = m_pState->m_ToTickBlocks;
unsigned int NumTickBlocks = ToTickBlocks.size();
- if( NumTickBlocks > 0 ) LOG("To tick: %i", NumTickBlocks );
+ //if( NumTickBlocks > 0 ) LOG("To tick: %i", NumTickBlocks );
m_pState->m_ToTickBlocks.clear();
bool isRedstone = false;
for( std::map< unsigned int, int>::iterator itr = ToTickBlocks.begin(); itr != ToTickBlocks.end(); ++itr )
@@ -345,9 +345,9 @@ void cChunk::Tick(float a_Dt)
FastSetBlock( m_BlockTickX, m_BlockTickY, m_BlockTickZ, E_BLOCK_GRASS, GetLight( m_BlockMeta, Index ) );
}
if ( (g_BlockOneHitDig[AboveBlock]) && GetLight( m_BlockSkyLight, Index+1 ) > 0xf/2 ) // Half lit //ch$
- {
- FastSetBlock( m_BlockTickX, m_BlockTickY, m_BlockTickZ, E_BLOCK_GRASS, GetLight( m_BlockMeta, Index ) );
- }
+ {
+ FastSetBlock( m_BlockTickX, m_BlockTickY, m_BlockTickZ, E_BLOCK_GRASS, GetLight( m_BlockMeta, Index ) );
+ }
}
break;