Fix a reset bug for at least JSBSim by removing some apperently old UIUC code. This falls in the same category as the code from main.cxx which was recently removed by advice from the UIUC developers.
This commit is contained in:
parent
c81fbb937a
commit
ffd64f7a8c
1 changed files with 0 additions and 8 deletions
|
@ -988,14 +988,6 @@ bool fgInitPosition() {
|
|||
fgSetDistOrAltFromGlideSlope();
|
||||
}
|
||||
|
||||
// Select ground or air start depending on if an altitude is
|
||||
// specified (this choice can be refined later based on other
|
||||
// input.)
|
||||
if ( fgGetDouble("/sim/presets/altitude-ft") > -9990.0 ) {
|
||||
fgSetBool("/sim/presets/onground", false);
|
||||
} else {
|
||||
fgSetBool("/sim/presets/onground", true);
|
||||
}
|
||||
|
||||
// If we have an explicit, in-range lon/lat, don't change it, just use it.
|
||||
// If not, check for an airport-id and use that.
|
||||
|
|
Loading…
Add table
Reference in a new issue