1
0
Fork 0

Fixed nether ceiling

This commit is contained in:
STRWarrior 2014-11-30 16:34:41 +01:00
parent 7049db5bf8
commit 65dc452923
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ void cCompoGenNether::ComposeTerrain(cChunkDesc & a_ChunkDesc, const cChunkDesc:
CeilingDisguise = -CeilingDisguise;
}
int CeilingDisguiseHeight = Height - 2 - (int)CeilingDisguise * 3;
int CeilingDisguiseHeight = Height - 2 - FloorC(CeilingDisguise * 3);
for (int y = Height - 1; y > CeilingDisguiseHeight; y--)
{