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)
|
if (modifiers&FG_MOD_UP)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
float fov, tmp;
|
// float fov, tmp;
|
||||||
static bool winding_ccw = true;
|
static bool winding_ccw = true;
|
||||||
// int speed;
|
// int speed;
|
||||||
FGInterface *f = current_aircraft.fdm_state;
|
// FGInterface *f = current_aircraft.fdm_state;
|
||||||
// FGViewer *v = globals->get_current_view();
|
// FGViewer *v = globals->get_current_view();
|
||||||
|
|
||||||
// everything after here will be removed sooner or later...
|
// everything after here will be removed sooner or later...
|
||||||
|
|
|
@ -85,7 +85,7 @@ _set_view_from_axes ()
|
||||||
viewDir = 225;
|
viewDir = 225;
|
||||||
else if (axisLat == 0)
|
else if (axisLat == 0)
|
||||||
viewDir = 180;
|
viewDir = 180;
|
||||||
} else if (axisLong = 0) { // Longitudinal axis neutral
|
} else if (axisLong == 0) { // Longitudinal axis neutral
|
||||||
if (axisLat < 0)
|
if (axisLat < 0)
|
||||||
viewDir = 90;
|
viewDir = 90;
|
||||||
else if (axisLat > 0)
|
else if (axisLat > 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue