]> git.mxchange.org Git - flightgear.git/commit
Fix a bug where the search() function was not being called if power was false
authorcurt <curt>
Thu, 30 Oct 2008 20:42:21 +0000 (20:42 +0000)
committercurt <curt>
Thu, 30 Oct 2008 20:42:21 +0000 (20:42 +0000)
commit692afe0bcbf9b3d0e584e12394f3cd0050fcc2b0
tree7297e5d964b370ce1c65178cde06f6da3bf86786
parente8ff28f9f8ed16098738aa1aa6a7b6a067d56542
Fix a bug where the search() function was not being called if power was false
or the unit was not serviceable.  This search() routine needs to run every
iteration no matter what the power or serviceable state.  If power is turned
off or the unit becomes unserviceable while a beacon sound is playing, the
search() routine still needs to be called so the sound effect can be properly
disabled.
src/Instrumentation/marker_beacon.cxx