1
0

Fixed nether ceiling

This commit is contained in:
STRWarrior 2014-11-30 16:34:41 +01:00
parent 7049db5bf8
commit 65dc452923

View File

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