]> git.mxchange.org Git - flightgear.git/commitdiff
ATIS: say wind direction as three digits
authorTorsten Dreyer <torsten@t3r.de>
Sat, 1 Mar 2014 19:15:52 +0000 (20:15 +0100)
committerTorsten Dreyer <torsten@t3r.de>
Sat, 1 Mar 2014 19:15:52 +0000 (20:15 +0100)
src/ATC/ATISEncoder.cxx

index debc002d4fd925d62913c19cfbff333e49e2c917..6b6259b218d50c1d04ab20461532ce3c9d926703 100644 (file)
@@ -383,7 +383,7 @@ string ATISEncoder::getTransitionLevel( SGPropertyNode_ptr )
 
 string ATISEncoder::getWindDirection( SGPropertyNode_ptr )
 {
-  return getSpokenNumber( _atis->getWindDeg() );
+  return getSpokenNumber( _atis->getWindDeg(), true, 3 );
 }
 
 string ATISEncoder::getWindspeedKnots( SGPropertyNode_ptr )