|
|
|
@ -32,7 +32,7 @@ public class GetHeightCmd extends AbstractDevCmd {
@@ -32,7 +32,7 @@ public class GetHeightCmd extends AbstractDevCmd {
|
|
|
|
|
Zone parentZone; |
|
|
|
|
|
|
|
|
|
currentZone = ZoneManager.findSmallestZone(playerCharacter.getLoc()); |
|
|
|
|
parentZone = currentZone.getParent(); |
|
|
|
|
parentZone = HeightMap.getNextZoneWithTerrain(currentZone.getParent()); |
|
|
|
|
|
|
|
|
|
float currentHeight = HeightMap.getWorldHeight(currentZone, playerCharacter.getLoc()); |
|
|
|
|
float parentHeight = HeightMap.getWorldHeight(parentZone, playerCharacter.getLoc()); |
|
|
|
|