1
0
Fork 0

Fixed a couple property manager typo's.

This commit is contained in:
curt 2001-01-22 20:39:25 +00:00
parent e1dd52d38a
commit 1bc2a66b1c
2 changed files with 3 additions and 3 deletions

View file

@ -503,7 +503,7 @@ void guiMouseFunc(int button, int updown, int x, int y)
case MOUSE_YOKE: case MOUSE_YOKE:
mouse_mode = MOUSE_VIEW; mouse_mode = MOUSE_VIEW;
fgSetString("/sim/control/mode", "joystick"); fgSetString("/sim/control-mode", "joystick");
x = fgGetInt("/sim/startup/xsize")/2; x = fgGetInt("/sim/startup/xsize")/2;
y = fgGetInt("/sim/startup/ysize")/2; y = fgGetInt("/sim/startup/ysize")/2;
_mVtoggle = 0; _mVtoggle = 0;

View file

@ -561,11 +561,11 @@ parse_option (const string& arg)
} else if ( arg.find( "--lon=" ) != string::npos ) { } else if ( arg.find( "--lon=" ) != string::npos ) {
fgSetDouble("/position/longitude", fgSetDouble("/position/longitude",
parse_degree(arg.substr(6))); parse_degree(arg.substr(6)));
fgSetString("/position/airport-id", ""); fgSetString("/sim/startup/airport-id", "");
} else if ( arg.find( "--lat=" ) != string::npos ) { } else if ( arg.find( "--lat=" ) != string::npos ) {
fgSetDouble("/position/latitude", fgSetDouble("/position/latitude",
parse_degree(arg.substr(6))); parse_degree(arg.substr(6)));
fgSetString("/position/airport-id", ""); fgSetString("/sim/startup/airport-id", "");
} else if ( arg.find( "--altitude=" ) != string::npos ) { } else if ( arg.find( "--altitude=" ) != string::npos ) {
fgSetBool("/sim/startup/onground", false); fgSetBool("/sim/startup/onground", false);
if ( fgGetString("/sim/startup/units") == "feet" ) if ( fgGetString("/sim/startup/units") == "feet" )