diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/rendering/ViewFlag.java b/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/rendering/ViewFlag.java index 8702a607..f86c99d8 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/rendering/ViewFlag.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/rendering/ViewFlag.java @@ -123,6 +123,7 @@ public abstract class ViewFlag { if (prev.isEmpty()) continue; TNTPoint previous = prev.get(); + Vector previousVelocity = previous.getVelocity(); Location delta = representative.getLocation().clone().subtract(previous.getLocation()); @@ -133,7 +134,7 @@ public abstract class ViewFlag { } Location secoundLocation; - if (delta.getX() >= delta.getZ()) { + if (previousVelocity.getX() >= previousVelocity.getZ()) { secoundLocation = previous.getLocation().clone().add(delta.getX(), delta.getY(), 0); } else { secoundLocation = previous.getLocation().clone().add(0, delta.getY(), delta.getZ());