From: Vanessa Ezekowitz Date: Tue, 1 Jan 2013 22:51:55 +0000 (-0500) Subject: Minor tweak to fix missing smooth bend on some T-junctions. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=4eaad140482091d06a06c800dbfbf8b4b453465d;p=zefram%2Fminetest%2Fpipeworks.git Minor tweak to fix missing smooth bend on some T-junctions. --- diff --git a/init.lua b/init.lua index f4d2514..b3ca809 100644 --- a/init.lua +++ b/init.lua @@ -234,7 +234,7 @@ for zp = 0, 1 do end end - if (jx==1 and jy==1 and jz~=1) or (jx==1 and jy~=1 and jz==1) or (jx~= 1 and jy==1 and jz==1) then + if jx+jy+jz >= 2 then pipe_addbox(outboxes, pipe_bendsphere) end