diff --git a/src/engine/InterestManagement/Terrain.java b/src/engine/InterestManagement/Terrain.java index 3254d547..59172eeb 100644 --- a/src/engine/InterestManagement/Terrain.java +++ b/src/engine/InterestManagement/Terrain.java @@ -87,14 +87,12 @@ public class Terrain { public static float getWorldHeight(Zone currentZone, Vector3fImmutable worldLoc) { Zone terrainZone; - Zone parentZone; // Retrieve the next zone with a heightmap attached. // Zones without a heightmap use the next zone up the // tree to calculate heights from. terrainZone = getNextZoneWithTerrain(currentZone); - parentZone = getNextZoneWithTerrain(currentZone.parent); // Transform world loc into zone space coordinate system