diff --git a/ArduPlane/altitude.cpp b/ArduPlane/altitude.cpp index 66ab26a1a3..5fdc398c39 100644 --- a/ArduPlane/altitude.cpp +++ b/ArduPlane/altitude.cpp @@ -398,8 +398,8 @@ bool Plane::above_location_current(const Location &loc) #endif float loc_alt_cm = loc.alt; - if (!loc.flags.relative_alt) { - loc_alt_cm -= home.alt; + if (loc.flags.relative_alt) { + loc_alt_cm += home.alt; } return current_loc.alt > loc_alt_cm; }