diff --git a/src/MissionManager/SimpleMissionItem.cc b/src/MissionManager/SimpleMissionItem.cc index 67a7ab5ed6d7a755a3554cc4af487d20787180c4..6c1583b6c5b3ee105e5b3d7786c89ac2749b2683 100644 --- a/src/MissionManager/SimpleMissionItem.cc +++ b/src/MissionManager/SimpleMissionItem.cc @@ -127,7 +127,7 @@ SimpleMissionItem::SimpleMissionItem(Vehicle* vehicle, bool flyView, const Missi } _isCurrentItem = missionItem.isCurrentItem(); - _altitudeFact.setRawValue(specifiesCoordinate() ? _missionItem._param7Fact.rawValue() : qQNaN()); + _altitudeFact.setRawValue(specifiesCoordinate() || specifiesAltitudeOnly() ? _missionItem._param7Fact.rawValue() : qQNaN()); _amslAltAboveTerrainFact.setRawValue(qQNaN()); // In flyView we skip some of the intialization to save memory