Fix broken ATC/AI-Frequencies dialog.
This commit is contained in:
parent
7f16fbec70
commit
3c138c8345
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ operator >> ( std::istream& fin, ATCData& a )
|
|||
// cout << a.ident << endl;
|
||||
|
||||
// generate cartesian coordinates
|
||||
SGVec3d cart = SGVec3d::fromGeod(SGGeod::fromRadM(a.lon, a.lat, a.elev));
|
||||
SGVec3d cart = SGVec3d::fromGeod(SGGeod::fromDegM(a.lon, a.lat, a.elev));
|
||||
a.x = cart.x();
|
||||
a.y = cart.y();
|
||||
a.z = cart.z();
|
||||
|
|
Loading…
Add table
Reference in a new issue