Maintenance: AIAircraft
Remove dead code
This commit is contained in:
parent
0d3f387214
commit
7ee64f9994
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue