1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-30 07:10:45 +02:00

local-ize a few more variables and functions

This commit is contained in:
Vanessa Ezekowitz
2013-12-15 05:53:11 -05:00
parent d099b9f8f0
commit c0ce62dacf
3 changed files with 4 additions and 4 deletions

View File

@ -220,7 +220,7 @@ local function addVect(pos,vect)
return {x=pos.x+vect.x,y=pos.y+vect.y,z=pos.z+vect.z}
end
adjlist={{x=0,y=0,z=1},{x=0,y=0,z=-1},{x=0,y=1,z=0},{x=0,y=-1,z=0},{x=1,y=0,z=0},{x=-1,y=0,z=0}}
local adjlist={{x=0,y=0,z=1},{x=0,y=0,z=-1},{x=0,y=1,z=0},{x=0,y=-1,z=0},{x=1,y=0,z=0},{x=-1,y=0,z=0}}
local function notvel(tbl,vel)
local tbl2={}