Fix a property path.
This commit is contained in:
parent
def25f39d5
commit
93e6ebf116
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ float get_view_direction( void )
|
||||||
float get_dme( void )
|
float get_dme( void )
|
||||||
{
|
{
|
||||||
static const SGPropertyNode * dme_node =
|
static const SGPropertyNode * dme_node =
|
||||||
fgGetNode("/radios/dme/distance-nm");
|
fgGetNode("/instrumentation/dme/indicated-distance-nm");
|
||||||
|
|
||||||
return dme_node->getFloatValue();
|
return dme_node->getFloatValue();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue