Don't change bush branch dir unless =5
5 is a special direction to designate the center node. If you actually try to orient the nodebox that way, it gets turned on it's side which we don't want.
This commit is contained in:
parent
355eac6b36
commit
fdeaf7427e
@ -148,11 +148,9 @@ abstract_bushes.grow_bush_node = function(pos,dir, leaf_type)
|
||||
-- MM: I'm not sure if it's slower now than before...
|
||||
if dir ~= 5 and leaf_type == 1 then
|
||||
bush_branch_type = 2
|
||||
dir = 1
|
||||
end
|
||||
if dir ~= 5 and leaf_type == 2 then
|
||||
bush_branch_type = 4
|
||||
dir = 1
|
||||
end
|
||||
if dir == 5 and leaf_type == 1 then
|
||||
bush_branch_type = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user