From: FruitieX Date: Sun, 6 Jun 2010 15:54:13 +0000 (+0300) Subject: woops dont draw the scoreboard behind the mapvote screen :p X-Git-Tag: xonotic-v0.1.0preview~541^2~106^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b2132912b2c5902ee4cbdcc32bf12848462a7ca8;p=xonotic%2Fxonotic-data.pk3dir.git woops dont draw the scoreboard behind the mapvote screen :p --- diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 8d2789e24..afb4501ec 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -1154,19 +1154,17 @@ void CSQC_common_hud(void) HUD_Main(); // scoreboard/accuracy - if(scoreboard_showaccuracy && spectatee_status != -1) + if (intermission == 2 && !scoreboard_showaccuracy && !scoreboard_showscores) // map voting screen + { + HUD_FinaleOverlay(); + HUD_Reset(); + } + else if(scoreboard_showaccuracy && spectatee_status != -1) HUD_DrawAccuracyStats(); else HUD_DrawScoreboard(); - if (intermission == 2) // map voting screen - if(!scoreboard_showaccuracy && !scoreboard_showscores) - { - HUD_FinaleOverlay(); - HUD_Reset(); - } - - else if (scoreboard_showscores || scoreboard_showaccuracy || scoreboard_showscores_force || getstati(STAT_HEALTH) <= 0 || intermission == 1) + if (scoreboard_showscores || scoreboard_showaccuracy || scoreboard_showscores_force || getstati(STAT_HEALTH) <= 0 || intermission == 1) HUD_Reset(); break;