From 534f129046886d29ca88fa477856b193ae9f961f Mon Sep 17 00:00:00 2001 From: DoinLakeFlyer Date: Wed, 11 Mar 2020 12:14:24 -0700 Subject: [PATCH] Cherry pick from master --- src/Terrain/TerrainQuery.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Terrain/TerrainQuery.cc b/src/Terrain/TerrainQuery.cc index 703b90153..7aa96c828 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) { -- 2.22.0