1
0
Fork 0

input.cxx: cleaned up some warnings.

fg_props.cxx: fixed a type "if (axisLong = 0) {" ...
This commit is contained in:
curt 2001-06-26 22:05:11 +00:00
parent 93178a944b
commit c3131e5e42
2 changed files with 3 additions and 3 deletions

View file

@ -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...

View file

@ -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)