Skip to content

Commit

Permalink
Fixed nether ceiling
Browse files Browse the repository at this point in the history
  • Loading branch information
NiLSPACE committed Nov 30, 2014
1 parent 7049db5 commit 65dc452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generating/CompoGen.cpp
Expand Up @@ -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--)
{
Expand Down

0 comments on commit 65dc452

Please sign in to comment.