diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-16 12:12:56 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-16 12:12:56 +0100 |
commit | 32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6 (patch) | |
tree | 0d336dd2935b40610d884892e493f41d81f56573 /source/Generating/StructGen.cpp | |
parent | Added API.txt into project for reference (diff) | |
download | cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.gz cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.bz2 cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.lz cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.xz cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.tar.zst cuberite-32ee4aaf1e26a8fef31c1a8cc653694eb9187ae6.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Generating/StructGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Generating/StructGen.cpp b/source/Generating/StructGen.cpp index 30d7b48a7..b0828f15a 100644 --- a/source/Generating/StructGen.cpp +++ b/source/Generating/StructGen.cpp @@ -178,7 +178,7 @@ void cStructGenTrees::GenerateSingleTree( // Check the block underneath the tree: BLOCKTYPE TopBlock = cChunkDef::GetBlock(a_BlockTypes, x, Height, z); - if ((TopBlock != E_BLOCK_DIRT) && (TopBlock != E_BLOCK_GRASS) && (TopBlock != E_BLOCK_SOIL)) + if ((TopBlock != E_BLOCK_DIRT) && (TopBlock != E_BLOCK_GRASS) && (TopBlock != E_BLOCK_FARMLAND)) { return; } |