diff --git a/src/Terrain/TerrainQuery.cc b/src/Terrain/TerrainQuery.cc index 703b90153657956d3b281681f4a097d85dd32939..7aa96c828c737d780b6aa2c4f553d412cc79bba8 100644 --- a/src/Terrain/TerrainQuery.cc +++ b/src/Terrain/TerrainQuery.cc @@ -249,7 +249,7 @@ void TerrainAirMapQuery::_parseCarpetData(const QJsonValue& carpetJson) QJsonObject statsObject = jsonObject["stats"].toObject(); double minHeight = statsObject["min"].toDouble(); - double maxHeight = statsObject["min"].toDouble(); + double maxHeight = statsObject["max"].toDouble(); QList> carpet; if (!_carpetStatsOnly) {