Remove redundant check

This commit is contained in:
Markolie
2015-09-27 06:32:17 +02:00
parent 24150330cf
commit 4bf3bb9c31
+1 -4
View File
@@ -90,10 +90,7 @@
if ((!(A) || src != A.loc))
return
if(destination_z)
if(A.z > MAX_Z)
return
if(destination_z)
A.x = destination_x
A.y = destination_y
A.z = destination_z