From: jmt Date: Mon, 21 Sep 2009 15:56:36 +0000 (+0000) Subject: Don't look for /velocities/groundspeed-kts during initialisation. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=263ff7d93db98bd40781f3f56f82314b601605cc;p=flightgear.git Don't look for /velocities/groundspeed-kts during initialisation. --- diff --git a/src/Autopilot/autobrake.cxx b/src/Autopilot/autobrake.cxx index a43841ee7..f97b56c2d 100644 --- a/src/Autopilot/autobrake.cxx +++ b/src/Autopilot/autobrake.cxx @@ -62,7 +62,6 @@ void FGAutoBrake::init() (*this, &FGAutoBrake::getRTO, &FGAutoBrake::setRTO)); _engineControlsNode = fgGetNode("/controls/engines"); - _groundspeedNode = fgGetNode("/velocities/groundspeed-kt"); // brake position nodes _brakeInputs[0] = fgGetNode("/controls/gear/brake-left"); @@ -93,6 +92,7 @@ void FGAutoBrake::init() void FGAutoBrake::postinit() { _weightOnWheelsNode = fgGetNode("/gear/gear/wow"); + _groundspeedNode = fgGetNode("/velocities/groundspeed-kt"); _lastWoW = _weightOnWheelsNode->getBoolValue(); }