Completed partial refactor.

This commit is contained in:
2023-10-08 09:59:13 -04:00
parent 4b62517d99
commit df54840a88
6 changed files with 27 additions and 72 deletions
+2 -1
View File
@@ -39,7 +39,8 @@ public class GetHeightCmd extends AbstractDevCmd {
float parentHeight = Terrain.getWorldHeight(parentZone, playerCharacter.getLoc());
Vector2f zoneLoc = ZoneManager.worldToZoneSpace(playerCharacter.getLoc(), heightmapZone);
Vector2f gridSquare = heightmapZone.getHeightMap().getTerrainCell(zoneLoc);
Vector2f gridSquare = heightmapZone.terrain.getTerrainCell(zoneLoc);
this.throwbackInfo(playerCharacter, "Current Zone : " + currentZone.zoneName);
this.throwbackInfo(playerCharacter, "Heightmap Zone : " + heightmapZone.zoneName);