]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove pointless checks for intermission in the infomessages panel, this panel is... 276/head
authorterencehill <piuntn@gmail.com>
Sat, 30 Jan 2016 10:29:20 +0000 (11:29 +0100)
committerGitLab <gitlab@gitlab.com>
Sat, 30 Jan 2016 12:27:27 +0000 (12:27 +0000)
qcsrc/client/hud/panel/infomessages.qc

index 4e32fa6628baf9ca31f557c0b8ca48b24f7def9e..74b962410c6f748014db3ff0a78ffa5eab52e44a 100644 (file)
@@ -56,7 +56,7 @@ void HUD_InfoMessages()
        string s;
        if(!autocvar__hud_configure)
        {
-               if(spectatee_status && !intermission)
+               if(spectatee_status)
                {
                        a = 1;
                        if(spectatee_status == -1)
@@ -104,7 +104,7 @@ void HUD_InfoMessages()
                        drawInfoMessage(s);
                }
 
-               if(warmup_stage && !intermission)
+               if(warmup_stage)
                {
                        s = _("^2Currently in ^1warmup^2 stage!");
                        drawInfoMessage(s);
@@ -116,7 +116,7 @@ void HUD_InfoMessages()
                else
                        blinkcolor = "^3";
 
-               if(ready_waiting && !intermission && !spectatee_status)
+               if(ready_waiting && !spectatee_status)
                {
                        if(ready_waiting_for_me)
                        {
@@ -134,13 +134,13 @@ void HUD_InfoMessages()
                        }
                        drawInfoMessage(s);
                }
-               else if(warmup_stage && !intermission && !spectatee_status)
+               else if(warmup_stage && !spectatee_status)
                {
                        s = sprintf(_("^2Press ^3%s^2 to end warmup"), getcommandkey("ready", "ready"));
                        drawInfoMessage(s);
                }
 
-               if(teamplay && !intermission && !spectatee_status && gametype != MAPINFO_TYPE_CA && teamnagger)
+               if(teamplay && !spectatee_status && gametype != MAPINFO_TYPE_CA && teamnagger)
                {
                        float ts_min = 0, ts_max = 0;
                        tm = teams.sort_next;