Dev command updated

This commit is contained in:
2023-10-09 08:44:06 -04:00
parent 53f7165e24
commit d2dc95c169
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ public class Terrain {
// Blend between heights
return interpolatedChildHeight + interpolatedParentTerrainHeight * (1 - parentZone.terrain.heightBlend(parentLoc));
return interpolatedChildHeight + interpolatedParentTerrainHeight * (1 - terrainZone.terrain.heightBlend(terrainLoc));
}
+1
View File
@@ -47,6 +47,7 @@ public class GetHeightCmd extends AbstractDevCmd {
this.throwbackInfo(playerCharacter, "Global Height: " + heightmapZone.worldAltitude);
this.throwbackInfo(playerCharacter, "Sea Level: " + heightmapZone.seaLevel);
this.throwbackInfo(playerCharacter, "Grid : " + Math.floor(gridSquare.x) + "x" + Math.floor(gridSquare.y));
this.throwbackInfo(playerCharacter, "Blend: " + heightmapZone.terrain.heightBlend(zoneLoc));
this.throwbackInfo(playerCharacter, "Height returned: " + Math.ceil(currentHeight));
this.throwbackInfo(playerCharacter, "------------");