]> git.mxchange.org Git - flightgear.git/commitdiff
Thorsten Brehm: GPWS: Fixed permanent blocking of lower prio warnings
authorJames Turner <zakalawe@mac.com>
Sat, 14 Aug 2010 09:23:13 +0000 (10:23 +0100)
committerJames Turner <zakalawe@mac.com>
Sat, 14 Aug 2010 09:23:13 +0000 (10:23 +0100)
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).

src/Instrumentation/mk_viii.cxx

index 55f0208b51b47c9b1483ec3b13ffce328ebb7ead..12f3ef050c67f35b1d8caea8238fa1ea764dfb11 100755 (executable)
@@ -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;
 }