summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-08-12 22:31:35 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-08-12 22:31:35 -0400
commit68342c79d54b0efb4d9a680c17fbe2bb33be440a (patch)
treea0ba21aa8a2a6ea26dbaa3002c8c26cb0413e1de
parent6d499ae971a66541488d2ea511ed4dbc80612b69 (diff)
downloadmesecons-68342c79d54b0efb4d9a680c17fbe2bb33be440a.tar
mesecons-68342c79d54b0efb4d9a680c17fbe2bb33be440a.tar.gz
mesecons-68342c79d54b0efb4d9a680c17fbe2bb33be440a.tar.bz2
mesecons-68342c79d54b0efb4d9a680c17fbe2bb33be440a.tar.xz
mesecons-68342c79d54b0efb4d9a680c17fbe2bb33be440a.zip
Made X <-> Z bends not produce junction bump (only appears on T-junctions,
crossings, etc)
-rw-r--r--mesecons/wires.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesecons/wires.lua b/mesecons/wires.lua
index b85c2f6..e4c7e6a 100644
--- a/mesecons/wires.lua
+++ b/mesecons/wires.lua
@@ -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 = {