]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/atis.cxx
Mathias Fröhlich:
[flightgear.git] / src / ATC / atis.cxx
index 5ed6940af97481be4d5244cbe073c41b8c7e5076..c8f30ac0f4f61e3015d63793b24a38a677bcad6e 100644 (file)
@@ -56,8 +56,8 @@ FGATIS::FGATIS() :
        refname("atis")
        //type(ATIS)
 {
-       vPtr = globals->get_ATC_mgr()->GetVoicePointer(ATIS);
-       voiceOK = (vPtr == NULL ? false : true);
+       _vPtr = globals->get_ATC_mgr()->GetVoicePointer(ATIS);
+       _voiceOK = (_vPtr == NULL ? false : true);
        _type = ATIS;
 }
 
@@ -100,7 +100,7 @@ void FGATIS::UpdateTransmission() {
        
        FGEnvironment stationweather =
             ((FGEnvironmentMgr *)globals->get_subsystem("environment"))
-              ->getEnvironment(lat, lon, elev);
+              ->getEnvironment(lat, lon, 0.0);
        
        transmission = "";