|
|
@ -78,11 +78,6 @@ public class Terrain { |
|
|
|
|
|
|
|
|
|
|
|
Zone terrainZone; |
|
|
|
Zone terrainZone; |
|
|
|
|
|
|
|
|
|
|
|
// Seafloor is rather flat.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (currentZone == ZoneManager.getSeaFloor()) |
|
|
|
|
|
|
|
return currentZone.yOffset; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Retrieve the next zone with a heightmap attached.
|
|
|
|
// Retrieve the next zone with a heightmap attached.
|
|
|
|
// Zones without a heightmap use the next zone up the
|
|
|
|
// Zones without a heightmap use the next zone up the
|
|
|
|
// tree to calculate heights from.
|
|
|
|
// tree to calculate heights from.
|
|
|
|