]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/keyboard.cxx
Added support for managing fov via the property manager so the --fov= option
[flightgear.git] / src / Main / keyboard.cxx
index f17aaae4527e88ae4a74276d6f4bba8bbfc9d4a1..22c937da7c98a4d716b51b47020d0eeec758b895 100644 (file)
@@ -108,8 +108,8 @@ void GLUTkey(unsigned char k, int x, int y) {
                );
            return;
        case 8: // Ctrl-H key
-           current_autopilot->set_HeadingMode( 
-                  FGAutopilot::FG_HEADING_LOCK );
+           current_autopilot->set_HeadingMode(
+                 FGAutopilot::FG_DG_HEADING_LOCK );
            current_autopilot->set_HeadingEnabled(
                  ! current_autopilot->get_HeadingEnabled()
                );