From: ThorstenB Date: Tue, 10 Jan 2012 21:01:05 +0000 (+0100) Subject: #577: blinking not working for static HUD labels X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d051ba5cd20bed24bce73f540b1f4d37273d7b12;p=flightgear.git #577: blinking not working for static HUD labels Only worked for dynamic labels displaying a property (mode!=NONE). --- 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) {