Added a missing 'return' in case statement.
This commit is contained in:
parent
3b131ceaa8
commit
5c52bb1f22
1 changed files with 1 additions and 0 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue