diff --git a/src/engine/InterestManagement/Terrain.java b/src/engine/InterestManagement/Terrain.java index 07a822a1..5db8df36 100644 --- a/src/engine/InterestManagement/Terrain.java +++ b/src/engine/InterestManagement/Terrain.java @@ -187,8 +187,8 @@ public class Terrain { // Normalize terrain loc - Vector2f normalizedLoc = new Vector2f(zoneOffset.x / this.terrain_size.x, - zoneOffset.y / terrain_size.y); + Vector2f normalizedLoc = new Vector2f(Math.abs(zoneOffset.x / this.terrain_size.x), + Math.abs(zoneOffset.y / terrain_size.y)); float xval;