From: daveluff Date: Tue, 23 Mar 2004 23:25:37 +0000 (+0000) Subject: Add altimeter to the ATIS. Always does inches at the moment. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a8b25e57ffb83ea694f5d57d658d094a7d538aaf;p=flightgear.git Add altimeter to the ATIS. Always does inches at the moment. --- diff --git a/src/ATC/atis.cxx b/src/ATC/atis.cxx index 4ab783d81..e4f5dcb0c 100644 --- a/src/ATC/atis.cxx +++ b/src/ATC/atis.cxx @@ -180,6 +180,11 @@ void FGATIS::UpdateTransmission() { } // Get the pressure / altimeter + double pressure_inches = fgGetDouble("/environment/pressure-sea-level-inhg"); + transmission += " / Altimeter "; + sprintf(buf, "%.2f", pressure_inches); + tempstr1 = buf; + transmission += ConvertNumToSpokenDigits(tempstr1); // Based on the airport-id and wind get the active runway //FGRunway *r;