X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fairspeed_indicator.cxx;h=a3ff2df4eecb75d06af945c5d74bb5b936189b8c;hb=ccb890447ae2f950b8032649ca8b8190bdafaf90;hp=d31fd7672fd53de1b7404beee0abe1295e71bc5d;hpb=93f9b471e6f25733013144c3f277e227cc6d29a2;p=flightgear.git diff --git a/src/Instrumentation/airspeed_indicator.cxx b/src/Instrumentation/airspeed_indicator.cxx index d31fd7672..a3ff2df4e 100644 --- a/src/Instrumentation/airspeed_indicator.cxx +++ b/src/Instrumentation/airspeed_indicator.cxx @@ -80,6 +80,12 @@ AirspeedIndicator::init () _environmentManager = (FGEnvironmentMgr*) globals->get_subsystem("environment"); } +void +AirspeedIndicator::reinit () +{ + _speed_node->setDoubleValue(0.0); +} + #ifndef FPSTOKTS # define FPSTOKTS 0.592484 #endif