]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a typo breaking some takeoff-state logic.
authorJames Turner <zakalawe@mac.com>
Tue, 12 Jan 2016 23:26:06 +0000 (17:26 -0600)
committerJames Turner <zakalawe@mac.com>
Tue, 12 Jan 2016 23:26:06 +0000 (17:26 -0600)
src/AIModel/AIFlightPlanCreate.cxx

index d93a74756f8fbe11af3185e2bf30de0b68d4fcca..86fd88821bbcc8a4b4125237ebce79cc9149ea74 100644 (file)
@@ -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;