]> git.mxchange.org Git - flightgear.git/commitdiff
Fix broken ATC/AI-Frequencies dialog.
authortorsten <torsten>
Wed, 6 May 2009 17:26:05 +0000 (17:26 +0000)
committerTim Moore <timoore@redhat.com>
Mon, 18 May 2009 10:24:16 +0000 (12:24 +0200)
src/ATCDCL/ATC.hxx

index 22bb8370b4acfcbd4be23f644d388a112c1dc5eb..0a6d55a8b3e7e9c189954433a0812252fcab5d6e 100644 (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();