1
0
Fork 0

#577: blinking not working for static HUD labels

Only worked for dynamic labels displaying a property (mode!=NONE).
This commit is contained in:
ThorstenB 2012-01-10 22:01:05 +01:00
parent 6b348dc481
commit d051ba5cd2

View file

@ -80,7 +80,7 @@ HUD::Label::Label(HUD *hud, const SGPropertyNode *n, float x, float y) :
void HUD::Label::draw(void) void HUD::Label::draw(void)
{ {
if (!(_mode == NONE || (_input.isValid() && blink()))) if (!((_mode == NONE || _input.isValid()) && blink()))
return; return;
if (_box) { if (_box) {