Prepare for terrain

This commit is contained in:
2023-10-08 09:09:50 -04:00
parent 5fdaa11367
commit ffb541a12e
2 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ public class GetHeightCmd extends AbstractDevCmd {
float parentHeight = HeightMap.getWorldHeight(parentZone, playerCharacter.getLoc());
Vector2f zoneLoc = ZoneManager.worldToZoneSpace(playerCharacter.getLoc(), heightmapZone);
Vector2f gridSquare = heightmapZone.getHeightMap().getGridSquare(zoneLoc);
Vector2f gridSquare = heightmapZone.getHeightMap().getTerrainCell(zoneLoc);
this.throwbackInfo(playerCharacter, "Current Zone : " + currentZone.zoneName);
this.throwbackInfo(playerCharacter, "Heightmap Zone : " + heightmapZone.zoneName);