Fixed nether ceiling
This commit is contained in:
parent
7049db5bf8
commit
65dc452923
@ -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--)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user