X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fslip_skid_ball.cxx;h=4bb1f916bdc7ed58b2a7595bc0dff7534a29768b;hb=ccb890447ae2f950b8032649ca8b8190bdafaf90;hp=b5a439158a7fb0c58fc75e27600093fc5ba8dbeb;hpb=9ab41ea15809c02ba46bf9e6911fbb1aa808b8b1;p=flightgear.git diff --git a/src/Instrumentation/slip_skid_ball.cxx b/src/Instrumentation/slip_skid_ball.cxx index b5a439158..4bb1f916b 100644 --- a/src/Instrumentation/slip_skid_ball.cxx +++ b/src/Instrumentation/slip_skid_ball.cxx @@ -36,6 +36,14 @@ SlipSkidBall::init () _z_accel_node = fgGetNode("/accelerations/pilot/z-accel-fps_sec", true); _out_node = node->getChild("indicated-slip-skid", 0, true); _override_node = node->getChild("override", 0, true); + + reinit(); +} + +void +SlipSkidBall::reinit () +{ + _out_node->setDoubleValue(0.0); } void