1
0
Fork 0

Add altimeter to the ATIS. Always does inches at the moment.

This commit is contained in:
daveluff 2004-03-23 23:25:37 +00:00
parent 7aaf51c18a
commit a8b25e57ff

View file

@ -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;