1
0
Fork 0

Fix broken ATC/AI-Frequencies dialog.

This commit is contained in:
torsten 2009-05-06 17:26:05 +00:00 committed by Tim Moore
parent 7f16fbec70
commit 3c138c8345

View file

@ -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();