Made X <-> Z bends not produce junction bump (only appears on T-junctions,

crossings, etc)
This commit is contained in:
Vanessa Ezekowitz 2012-08-12 22:31:35 -04:00
parent 6d499ae971
commit 68342c79d5
1 changed files with 2 additions and 1 deletions

View File

@ -87,7 +87,8 @@ for zmy=0, 1 do
if zpy == 1 then table.insert(nodebox, box_zpy) end
if xmy == 1 then table.insert(nodebox, box_xmy) 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_bump2)
tiles_off = {