Fixed self heals, added animations for heals

This commit is contained in:
Light2
2013-09-22 16:41:53 +02:00
parent 9c606f444d
commit 098b2d55f3
3 changed files with 44 additions and 24 deletions
+2 -2
View File
@@ -708,7 +708,7 @@ public class SimulationService implements INetworkDispatch {
return checkLineOfSightWorldToCell(obj1, obj2, cell);
}
List<Vec3D> segments = new ArrayList<Vec3D>();
/*List<Vec3D> segments = new ArrayList<Vec3D>();
Line3D.splitIntoSegments(new Vec3D(position1.x, position1.y + 1, position1.z), new Vec3D(position2.x, position2.y + 1, position2.z), (float) 0.5, segments, true);
for(Vec3D segment : segments) {
@@ -720,7 +720,7 @@ public class SimulationService implements INetworkDispatch {
System.out.println("Collision with terrain");
return false;
}
}
}*/
return true;