Plane: fix loiter terrain following

This commit is contained in:
Iampete1 2021-04-04 20:35:06 +01:00 committed by Andrew Tridgell
parent aa72b7da46
commit a165a0e1bb
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
bool ModeLoiter::_enter()
{
plane.do_loiter_at_location();
plane.setup_terrain_target_alt(plane.next_WP_loc);
plane.loiter_angle_reset();
return true;