From eb0f724c132aa765499bd6eb83226ac4150abe68 Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 12 Jan 2016 17:26:06 -0600 Subject: [PATCH] Fix a typo breaking some takeoff-state logic. --- src/AIModel/AIFlightPlanCreate.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5