1
0

Fix comments

This commit is contained in:
tycho
2015-05-28 12:29:26 +01:00
parent e19693e529
commit b2fa71a32a
20 changed files with 82 additions and 64 deletions

View File

@@ -158,7 +158,7 @@ void cChunkDesc::SetHeightFromShape(const Shape & a_Shape)
{
for (int x = 0; x < cChunkDef::Width; x++)
{
for (unsigned char y = cChunkDef::Height - 1; y > 0; y--)
for (HEIGHTTYPE y = cChunkDef::Height - 1; y > 0; y--)
{
if (a_Shape[y + x * 256 + z * 16 * 256] != 0)
{