]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix strings of the InfoMessages panel shown while observing/spectating and the menu...
authorterencehill <piuntn@gmail.com>
Sun, 1 May 2011 14:16:45 +0000 (16:16 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 1 May 2011 14:16:45 +0000 (16:16 +0200)
qcsrc/client/hud.qc

index 7112a69c356a5b33b2fa6d8ece17fe9a17ff6248..062a6db30ecc2e47d960e9fedb0cb50276f5fddb 100644 (file)
@@ -4136,16 +4136,14 @@ void HUD_InfoMessages(void)
        fontsize = '0.20 0.20 0' * mySize_y;
        
        float a;
-       if(spectatee_status != 0)
-               a = 1;
-       else
-               a = panel_fg_alpha;
+       a = panel_fg_alpha;
 
        string s;
        if(!autocvar__hud_configure)
        {
                if(spectatee_status && !intermission)
                {
+                       a = 1;
                        if(spectatee_status == -1)
                                s = _("^1Observing");
                        else