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