From: James Turner Date: Tue, 12 Jan 2016 23:26:06 +0000 (-0600) Subject: Fix a typo breaking some takeoff-state logic. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eb0f724c132aa765499bd6eb83226ac4150abe68;p=flightgear.git Fix a typo breaking some takeoff-state logic. --- diff --git a/src/AIModel/AIFlightPlanCreate.cxx b/src/AIModel/AIFlightPlanCreate.cxx index d93a74756..86fd88821 100644 --- a/src/AIModel/AIFlightPlanCreate.cxx +++ b/src/AIModel/AIFlightPlanCreate.cxx @@ -211,7 +211,7 @@ void FGAIFlightPlan::createDefaultTakeoffTaxi(FGAIAircraft * ac, // Acceleration point, 105 meters into the runway, SGGeod accelPoint = aRunway->pointOnCenterline(105.0); - wpt = createOnGround(ac, "accel", accelPoint, airportElev, + wpt = createOnGround(ac, "Accel", accelPoint, airportElev, ac->getPerformance()->vRotate()); pushBackWaypoint(wpt); } @@ -346,7 +346,7 @@ bool FGAIFlightPlan::createTakeoffTaxi(FGAIAircraft * ac, bool firstFlight, } // Acceleration point, 105 meters into the runway, 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); //cerr << "[done]" << endl;