diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-11-30 19:38:52 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-11-30 19:38:52 +0100 |
commit | 6adf749164d7bc98bf34173b1f9d64804913d734 (patch) | |
tree | e15bd9dd8512fdbb61736db4d2d0b1f218bb81f0 /src/Generating/CompoGen.cpp | |
parent | Removed old MobType category. (diff) | |
parent | Hopefully fixed random build fails (diff) | |
download | cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.tar cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.tar.gz cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.tar.bz2 cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.tar.lz cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.tar.xz cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.tar.zst cuberite-6adf749164d7bc98bf34173b1f9d64804913d734.zip |
Diffstat (limited to 'src/Generating/CompoGen.cpp')
-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--) { |