]> git.mxchange.org Git - simgear.git/blobdiff - simgear/metar/MetarStation.cpp
FG_ to SG_ namespace changes.
[simgear.git] / simgear / metar / MetarStation.cpp
index 8aa9e1e78dfd2557ff19e8fe85cfa15139fa2d8d..b13a3aa8a3a0c5cf7e4fc4aaff1b1e51f48d856b 100644 (file)
@@ -8,8 +8,6 @@
 #include "MetarStation.h"
 #include <algorithm>
 
-#include <simgear/misc/fgpath.hxx>
-
 #if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
 SG_USING_STD(ostream);
 SG_USING_STD(cout);
@@ -82,10 +80,10 @@ CMetarStation::CMetarStation(
        s = t; t = strchr( s, ';' ); *t = 0; t++;
        double ulongitude = decodeDMS( s );
        s = t; t = strchr( s, ';' ); *t = 0; t++;
-       double altitude = atoi( s ) * FEET_TO_METER;
+       double altitude = atoi( s ) * SG_FEET_TO_METER;
        m_altitude = altitude;
        s = t; t = strchr( s, ';' ); *t = 0; t++;
-       double ualtitude = atoi( s ) * FEET_TO_METER;
+       double ualtitude = atoi( s ) * SG_FEET_TO_METER;
        Point3D p( longitude, latitude, altitude+SG_EQUATORIAL_RADIUS_M );
        m_locationPolar = p;
        m_locationCart = sgPolarToCart3d( p );