diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 12a0c904..af98a462 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -993,7 +993,7 @@ public enum BuildingManager { return; //no data for this mesh Mesh generatedMesh = new Mesh(); - generatedMesh.meshHeight = mesh_heights.get(mesh); + generatedMesh.meshHeight = building.loc.y + mesh_heights.get(mesh); ArrayList> triPoints = mesh_triangle_points.get(mesh); if (mesh_bounding_boxes.containsKey(mesh)) {