Maciej Kasatkin
2012-09-15 2bd039c0fe9d7efa71cd2b00e4439ad7b7f0c96c
clean code
1 files modified
2 ■■■ changed files
node_breaker.lua 2 ●●● patch | view | raw | blame | history
node_breaker.lua
@@ -46,7 +46,7 @@
    pos2.z=pos.z
    --param2 3=x+ 1=x- 2=z+ 0=z-
    if n_param==3 then print ("sru") pos2.x=pos2.x+1 pos1.x=pos1.x-1 end
    if n_param==3 then pos2.x=pos2.x+1 pos1.x=pos1.x-1 end
    if n_param==2 then pos2.z=pos2.z+1 pos1.z=pos1.z-1 end
    if n_param==1 then pos2.x=pos2.x-1 pos1.x=pos1.x+1 end
    if n_param==0 then pos2.z=pos2.z-1 pos1.x=pos1.z+1 end