diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-11-30 16:34:41 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-11-30 16:34:41 +0100 |
commit | 65dc452923f8db74f0fcb3869d4301cb10ee1ca6 (patch) | |
tree | 66bcfab1673907c2881963615fe18dba9cba2245 /src | |
parent | Fixed compiling on linux. (diff) | |
download | cuberite-65dc452923f8db74f0fcb3869d4301cb10ee1ca6.tar cuberite-65dc452923f8db74f0fcb3869d4301cb10ee1ca6.tar.gz cuberite-65dc452923f8db74f0fcb3869d4301cb10ee1ca6.tar.bz2 cuberite-65dc452923f8db74f0fcb3869d4301cb10ee1ca6.tar.lz cuberite-65dc452923f8db74f0fcb3869d4301cb10ee1ca6.tar.xz cuberite-65dc452923f8db74f0fcb3869d4301cb10ee1ca6.tar.zst cuberite-65dc452923f8db74f0fcb3869d4301cb10ee1ca6.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Generating/CompoGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/CompoGen.cpp b/src/Generating/CompoGen.cpp index 23cc64d78..6c3b50b4e 100644 --- a/src/Generating/CompoGen.cpp +++ b/src/Generating/CompoGen.cpp @@ -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--) { |