1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-09-27 14:50:37 +02:00

Minor tweak to fix missing smooth bend on some T-junctions.

This commit is contained in:
Vanessa Ezekowitz 2013-01-01 17:51:55 -05:00
parent d748eea48e
commit 4eaad14048

View File

@ -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