1
0
Fork 0

Maintenance: AIAircraft

Remove dead code
This commit is contained in:
Scott Giese 2021-02-21 23:15:40 -06:00
parent 0d3f387214
commit 7ee64f9994

View file

@ -1021,9 +1021,6 @@ void FGAIAircraft::updateHeading(double dt) {
if (headingDiff > 180)
headingDiff = fabs(headingDiff - 360);
double sum = hdg + headingDiff;
if (sum > 360.0)
sum -= 360.0;
groundTargetSpeed = tgt_speed; // * cos(headingDiff * SG_DEGREES_TO_RADIANS);