]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/atis.cxx
If it's a struct, it's not a class
[flightgear.git] / src / ATC / atis.cxx
index 2a8780bbf30ed5118a91819fa4a0d14e4c1a7dbc..c4caefdd6303212fa5d24e21fad2edc1228d3c26 100644 (file)
@@ -17,7 +17,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
 #ifdef HAVE_CONFIG_H
@@ -100,7 +100,7 @@ void FGATIS::UpdateTransmission() {
        
        FGEnvironment stationweather =
             ((FGEnvironmentMgr *)globals->get_subsystem("environment"))
-              ->getEnvironment(lat, lon, elev);
+              ->getEnvironment(lat, lon, 0.0);
        
        transmission = "";