Add altimeter to the ATIS. Always does inches at the moment.
This commit is contained in:
parent
7aaf51c18a
commit
a8b25e57ff
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue