From 016fa0da40d152d32d50a52b80b71b0e4e2f9d27 Mon Sep 17 00:00:00 2001
From: paramat <mat.gregory@virginmedia.com>
Date: Sun, 7 Jun 2015 03:31:23 +0100
Subject: [PATCH] Default/functions: Fix cacti not growing when rotation is 1-3

---
 mods/default/functions.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mods/default/functions.lua b/mods/default/functions.lua
index cd4477b4..3525c1a8 100644
--- a/mods/default/functions.lua
+++ b/mods/default/functions.lua
@@ -124,7 +124,7 @@ minetest.register_abm({
 --
 
 function default.grow_cactus(pos, node)
-	if node.param2 ~= 0 then
+	if node.param2 >= 4 then
 		return
 	end
 	pos.y = pos.y-1