From: James Turner Date: Sat, 14 Aug 2010 09:23:13 +0000 (+0100) Subject: Thorsten Brehm: GPWS: Fixed permanent blocking of lower prio warnings X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=71fbacc6dc5afe0eda851c9b1a42d73a3ed463db;p=flightgear.git Thorsten Brehm: GPWS: Fixed permanent blocking of lower prio warnings Only block callouts which were actually issued to the pilot. When multiple callouts trigger at the same time, allow lower prio warnings to be issued once the higher prio ones are resolved. => Gear/flap warnings are now working reliably (no longer blocked permanently when altitude callouts are enabled). --- diff --git a/src/Instrumentation/mk_viii.cxx b/src/Instrumentation/mk_viii.cxx index 55f0208b5..12f3ef050 100755 --- a/src/Instrumentation/mk_viii.cxx +++ b/src/Instrumentation/mk_viii.cxx @@ -2956,7 +2956,7 @@ MK_VIII::AlertHandler::update () // set new state - old_alerts = alerts; + old_alerts = voice_alerts; repeated_alerts = 0; altitude_callout_voice = NULL; }