From a8b25e57ffb83ea694f5d57d658d094a7d538aaf Mon Sep 17 00:00:00 2001 From: daveluff Date: Tue, 23 Mar 2004 23:25:37 +0000 Subject: [PATCH] Add altimeter to the ATIS. Always does inches at the moment. --- src/ATC/atis.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.39.5