1
0

Fixed Biomal CompoGen to set heightmap correctly when underwater

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1446 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2013-05-05 16:33:58 +00:00
parent 270560a198
commit 6b35c64658

View File

@ -274,6 +274,7 @@ void cCompoGenBiomal::ComposeTerrain(cChunkDesc & a_ChunkDesc)
break;
}
} // switch (biome)
a_ChunkDesc.SetHeight(x, z, m_SeaLevel + 1);
} // else (under water)
a_ChunkDesc.SetBlockType(x, 0, z, E_BLOCK_BEDROCK);
} // for x