projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7786f7f
)
Default/functions: Fix cacti not growing when rotation is 1-3
author
paramat
<mat.gregory@virginmedia.com>
Sun, 7 Jun 2015 02:31:23 +0000
(
03:31
+0100)
committer
paramat
<mat.gregory@virginmedia.com>
Sun, 7 Jun 2015 03:39:25 +0000
(
04:39
+0100)
mods/default/functions.lua
patch
|
blob
|
history
diff --git
a/mods/default/functions.lua
b/mods/default/functions.lua
index cd4477b4138fd40f37ca997faf1dce39ebdfbb15..3525c1a8abdce3484d135a02bff3424d9bb36bde 100644
(file)
--- 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