clean code
authorMaciej Kasatkin <mk@realbadangel.pl>
Sat, 15 Sep 2012 19:49:16 +0000 (21:49 +0200)
committerMaciej Kasatkin <mk@realbadangel.pl>
Sat, 15 Sep 2012 19:49:16 +0000 (21:49 +0200)
node_breaker.lua

index 4f110ee7aa57740018ceb61375256c16c7348511..aab29e1a4ced1c2e64c40fd5d7b348699998506e 100644 (file)
@@ -46,7 +46,7 @@ function break_node (pos,n_param)
        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