Browse Source

DevCmd update.

feature-workorder
MagicBot 1 year ago
parent
commit
d84f223b9d
  1. 2
      src/engine/devcmd/cmds/GetHeightCmd.java

2
src/engine/devcmd/cmds/GetHeightCmd.java

@ -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());

Loading…
Cancel
Save