diff --git a/simgear/nasal/cppbind/Ghost.hxx b/simgear/nasal/cppbind/Ghost.hxx index ddb2c1f5..746be96c 100644 --- a/simgear/nasal/cppbind/Ghost.hxx +++ b/simgear/nasal/cppbind/Ghost.hxx @@ -279,7 +279,7 @@ namespace nasal bases() { BaseGhost* base = BaseGhost::getSingletonPtr(); - base->addDerived( &getTypeFor ); + base->addDerived( &Ghost::getTypeFor ); // Replace any getter that is not available in the current class. // TODO check if this is the correct behavior of function overriding