]> git.mxchange.org Git - simgear.git/blobdiff - simgear/metar/MetarStation.cpp
MSVC++ fixes.
[simgear.git] / simgear / metar / MetarStation.cpp
index d7ead145604aa66809cd78b8e6eec9302ead4d5b..927106c030d24ef44ad4808f67b5df09820c2f1f 100644 (file)
@@ -86,7 +86,7 @@ CMetarStation::CMetarStation(
        double ualtitude = atoi( s ) * FEET_TO_METER;
        Point3D p( longitude, latitude, altitude+EQUATORIAL_RADIUS_M );
        m_locationPolar = p;
-       m_locationCart = fgPolarToCart3d( p );
+       m_locationCart = sgPolarToCart3d( p );
        Point3D up( ulongitude, ulatitude, ualtitude+EQUATORIAL_RADIUS_M );
        m_upperLocationPolar = up;
        m_upperLocationCart = fgPolarToCart3d( up );