forked from minetest-mods/mesecons
Made X <-> Z bends not produce junction bump (only appears on T-junctions,
crossings, etc)
This commit is contained in:
parent
6d499ae971
commit
68342c79d5
|
@ -87,7 +87,8 @@ for zmy=0, 1 do
|
||||||
if zpy == 1 then table.insert(nodebox, box_zpy) end
|
if zpy == 1 then table.insert(nodebox, box_zpy) end
|
||||||
if xmy == 1 then table.insert(nodebox, box_xmy) end
|
if xmy == 1 then table.insert(nodebox, box_xmy) end
|
||||||
if zmy == 1 then table.insert(nodebox, box_zmy) end
|
if zmy == 1 then table.insert(nodebox, box_zmy) end
|
||||||
if adjx and adjz then
|
nobump = xp+zp+xm+zm
|
||||||
|
if adjx and adjz and (nobump > 2) then
|
||||||
table.insert(nodebox, box_bump1)
|
table.insert(nodebox, box_bump1)
|
||||||
table.insert(nodebox, box_bump2)
|
table.insert(nodebox, box_bump2)
|
||||||
tiles_off = {
|
tiles_off = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user