rework of world altitude calculation.
This commit is contained in:
@@ -36,11 +36,6 @@ public class GetHeightCmd extends AbstractDevCmd {
|
||||
heightmapZone = HeightMap.getNextZoneWithTerrain(currentZone);
|
||||
parentZone = HeightMap.getNextZoneWithTerrain(currentZone.getParent());
|
||||
|
||||
// Any argument rebuilds altitude
|
||||
|
||||
if (words[0].isEmpty() == false)
|
||||
currentZone.generateWorldAltitude();
|
||||
|
||||
float currentHeight = HeightMap.getWorldHeight(currentZone, playerCharacter.getLoc());
|
||||
float parentHeight = HeightMap.getWorldHeight(parentZone, playerCharacter.getLoc());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user