Fix a typo breaking some takeoff-state logic.
This commit is contained in:
parent
e32b02b28f
commit
eb0f724c13
1 changed files with 2 additions and 2 deletions
|
@ -211,7 +211,7 @@ void FGAIFlightPlan::createDefaultTakeoffTaxi(FGAIAircraft * ac,
|
||||||
|
|
||||||
// Acceleration point, 105 meters into the runway,
|
// Acceleration point, 105 meters into the runway,
|
||||||
SGGeod accelPoint = aRunway->pointOnCenterline(105.0);
|
SGGeod accelPoint = aRunway->pointOnCenterline(105.0);
|
||||||
wpt = createOnGround(ac, "accel", accelPoint, airportElev,
|
wpt = createOnGround(ac, "Accel", accelPoint, airportElev,
|
||||||
ac->getPerformance()->vRotate());
|
ac->getPerformance()->vRotate());
|
||||||
pushBackWaypoint(wpt);
|
pushBackWaypoint(wpt);
|
||||||
}
|
}
|
||||||
|
@ -346,7 +346,7 @@ bool FGAIFlightPlan::createTakeoffTaxi(FGAIAircraft * ac, bool firstFlight,
|
||||||
}
|
}
|
||||||
// Acceleration point, 105 meters into the runway,
|
// Acceleration point, 105 meters into the runway,
|
||||||
SGGeod accelPoint = rwy->pointOnCenterline(105.0);
|
SGGeod accelPoint = rwy->pointOnCenterline(105.0);
|
||||||
FGAIWaypoint *wpt = createOnGround(ac, "accel", accelPoint, apt->getElevation(), ac->getPerformance()->vRotate());
|
FGAIWaypoint *wpt = createOnGround(ac, "Accel", accelPoint, apt->getElevation(), ac->getPerformance()->vRotate());
|
||||||
pushBackWaypoint(wpt);
|
pushBackWaypoint(wpt);
|
||||||
|
|
||||||
//cerr << "[done]" << endl;
|
//cerr << "[done]" << endl;
|
||||||
|
|
Loading…
Reference in a new issue