diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-08 16:17:33 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-08 16:17:33 +0200 |
commit | 6d36a82e190525f895bc93588d2e81f220ab5f5b (patch) | |
tree | a56da114a27e23dc99369a3145983754f3609e25 /source/cWorld.cpp | |
parent | Simplify ifdef. Makes compiling possible on BSD (diff) | |
download | cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.gz cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.bz2 cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.lz cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.xz cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.zst cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cWorld.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp index fb2517a80..048dc1e30 100644 --- a/source/cWorld.cpp +++ b/source/cWorld.cpp @@ -915,6 +915,12 @@ void cWorld::GrowPlant(int a_BlockX, int a_BlockY, int a_BlockZ) } // for i - 50 times
break;
}
+
+ case E_BLOCK_SUGARCANE:
+ {
+ m_ChunkMap->GrowSugarcane(a_BlockX, a_BlockY, a_BlockZ, 3);
+ break;
+ }
} // switch (BlockType)
}
|