X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fadf.cxx;h=62302c92bd97b2d4a5416c4ee7c09b6fed91eb51;hb=6b9aa0fb970e90aaf8d6800b77b3abe84ae9906d;hp=8e7de862675c75ad741013342949dd73ffb82bf7;hpb=649d579124130d92a908c588c6972673fa0ac064;p=flightgear.git diff --git a/src/Instrumentation/adf.cxx b/src/Instrumentation/adf.cxx index 8e7de8626..62302c92b 100644 --- a/src/Instrumentation/adf.cxx +++ b/src/Instrumentation/adf.cxx @@ -18,12 +18,13 @@ #include "adf.hxx" #include - +#include #include #include #include +using std::string; // Use a bigger number to be more responsive, or a smaller number // to be more sluggish. @@ -179,6 +180,7 @@ ADF::update (double delta_time_sec) geo_inverse_wgs_84(acPos, _transmitter_pos, &bearing, &az2, &s); _in_range_node->setBoolValue(true); + _ident_node->setStringValue(_last_ident); bearing -= heading; if (bearing < 0)