Skip to content

Commit

Permalink
And another...
Browse files Browse the repository at this point in the history
  • Loading branch information
bearbin committed Nov 16, 2013
1 parent f4f9065 commit dbf2982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Generating/ChunkDesc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ void cChunkDesc::AddBlockEntity(cBlockEntity * a_BlockEntity)
void cChunkDesc::CompressBlockMetas(cChunkDef::BlockNibbles & a_DestMetas)
{
const NIBBLETYPE * AreaMetas = m_BlockArea.GetBlockMetas();
for (int i = 0; i < ARRAYCOUNT(a_DestMetas); i++)
for (unsigned int i = 0; i < ARRAYCOUNT(a_DestMetas); i++)
{
a_DestMetas[i] = AreaMetas[2 * i] | (AreaMetas[2 * i + 1] << 4);
}
Expand Down

0 comments on commit dbf2982

Please sign in to comment.