input.cxx: cleaned up some warnings.
fg_props.cxx: fixed a type "if (axisLong = 0) {" ...
This commit is contained in:
parent
93178a944b
commit
c3131e5e42
2 changed files with 3 additions and 3 deletions
|
@ -245,10 +245,10 @@ FGInput::doKey (int k, int modifiers, int x, int y)
|
|||
if (modifiers&FG_MOD_UP)
|
||||
return;
|
||||
|
||||
float fov, tmp;
|
||||
// float fov, tmp;
|
||||
static bool winding_ccw = true;
|
||||
// int speed;
|
||||
FGInterface *f = current_aircraft.fdm_state;
|
||||
// FGInterface *f = current_aircraft.fdm_state;
|
||||
// FGViewer *v = globals->get_current_view();
|
||||
|
||||
// everything after here will be removed sooner or later...
|
||||
|
|
|
@ -85,7 +85,7 @@ _set_view_from_axes ()
|
|||
viewDir = 225;
|
||||
else if (axisLat == 0)
|
||||
viewDir = 180;
|
||||
} else if (axisLong = 0) { // Longitudinal axis neutral
|
||||
} else if (axisLong == 0) { // Longitudinal axis neutral
|
||||
if (axisLat < 0)
|
||||
viewDir = 90;
|
||||
else if (axisLat > 0)
|
||||
|
|
Loading…
Reference in a new issue