Merge pull request #1945 from Woazboat/CodeCleanup_refactored
Small code cleanup - clean version
This commit is contained in:
@@ -103,7 +103,7 @@ void cSetChunkData::CalculateHeightMap(void)
|
||||
int index = cChunkDef::MakeIndexNoCheck(x, y, z);
|
||||
if (m_BlockTypes[index] != E_BLOCK_AIR)
|
||||
{
|
||||
m_HeightMap[x + z * cChunkDef::Width] = (HEIGHTTYPE)y;
|
||||
m_HeightMap[x + z * cChunkDef::Width] = static_cast<HEIGHTTYPE>(y);
|
||||
break;
|
||||
}
|
||||
} // for y
|
||||
|
||||
Reference in New Issue
Block a user