Plane: fixed APM2 build

This commit is contained in:
Andrew Tridgell 2014-07-25 08:02:19 +10:00
parent 8e65e5bff0
commit 88b73492c2
1 changed files with 2 additions and 0 deletions

View File

@ -357,9 +357,11 @@ static bool above_location_current(const Location &loc)
*/
static void setup_terrain_target_alt(Location &loc)
{
#if AP_TERRAIN_AVAILABLE
if (g.terrain_follow) {
loc.flags.terrain_alt = true;
}
#endif
}
/*