From d051ba5cd20bed24bce73f540b1f4d37273d7b12 Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Tue, 10 Jan 2012 22:01:05 +0100 Subject: [PATCH] #577: blinking not working for static HUD labels Only worked for dynamic labels displaying a property (mode!=NONE). --- src/Instrumentation/HUD/HUD_label.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instrumentation/HUD/HUD_label.cxx b/src/Instrumentation/HUD/HUD_label.cxx index ddadedad3..030e246b0 100644 --- a/src/Instrumentation/HUD/HUD_label.cxx +++ b/src/Instrumentation/HUD/HUD_label.cxx @@ -80,7 +80,7 @@ HUD::Label::Label(HUD *hud, const SGPropertyNode *n, float x, float y) : void HUD::Label::draw(void) { - if (!(_mode == NONE || (_input.isValid() && blink()))) + if (!((_mode == NONE || _input.isValid()) && blink())) return; if (_box) { -- 2.39.5