1
0
Fork 0

Added a missing 'return' in case statement.

This commit is contained in:
curt 2001-05-16 00:32:28 +00:00
parent 3b131ceaa8
commit 5c52bb1f22

View file

@ -564,6 +564,7 @@ void GLUTspecialkey(int k, int x, int y) {
return;
case GLUT_KEY_F4: // F4 Update lighting manually
fgUpdateSkyAndLightingParams();
return;
case GLUT_KEY_F6: // F6 toggles Autopilot target location
if ( current_autopilot->get_HeadingMode() !=
FGAutopilot::FG_HEADING_WAYPOINT ) {