summaryrefslogtreecommitdiffstats
path: root/source/cWorld.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cWorld.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp
index 7f6390dca..b8e785dd5 100644
--- a/source/cWorld.cpp
+++ b/source/cWorld.cpp
@@ -921,6 +921,12 @@ bool cWorld::GrowPlant(int a_BlockX, int a_BlockY, int a_BlockZ)
m_ChunkMap->GrowSugarcane(a_BlockX, a_BlockY, a_BlockZ, 3);
return true;
}
+
+ case E_BLOCK_CACTUS:
+ {
+ m_ChunkMap->GrowCactus(a_BlockX, a_BlockY, a_BlockZ, 3);
+ return true;
+ }
} // switch (BlockType)
return false;
}