mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
hihihihihih
This commit is contained in:
parent
99f1dcf898
commit
9dbdee6c30
|
|
@ -782,9 +782,7 @@ int LevelRenderer::renderChunks(int from, int to, int layer, double alpha)
|
||||||
int count = 0;
|
int count = 0;
|
||||||
int dbgNotVisible = 0, dbgNoIdx = 0, dbgEmpty = 0, dbgCalled = 0, dbgCallOk = 0;
|
int dbgNotVisible = 0, dbgNoIdx = 0, dbgEmpty = 0, dbgCalled = 0, dbgCallOk = 0;
|
||||||
ClipChunk *pClipChunk = chunks[playerIndex].data;
|
ClipChunk *pClipChunk = chunks[playerIndex].data;
|
||||||
//unsigned char emptyFlag = LevelRenderer::CHUNK_FLAG_EMPTY0 << layer;
|
unsigned char emptyFlag = LevelRenderer::CHUNK_FLAG_EMPTY0 << 0;
|
||||||
unsigned char emptyFlag = 0;
|
|
||||||
|
|
||||||
for( int i = 0; i < chunks[playerIndex].length; i++, pClipChunk++ )
|
for( int i = 0; i < chunks[playerIndex].length; i++, pClipChunk++ )
|
||||||
{
|
{
|
||||||
if( !pClipChunk->visible ) { dbgNotVisible++; continue; }
|
if( !pClipChunk->visible ) { dbgNotVisible++; continue; }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue