From: terencehill Date: Wed, 15 Dec 2010 23:43:58 +0000 (+0100) Subject: Revert "always draw the scoreboard when observing (won't change behaviour in other... X-Git-Tag: xonotic-v0.5.0~355 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=975656a595f116726c2fd632c0bfb785a2eb7fd9;p=xonotic%2Fxonotic-data.pk3dir.git Revert "always draw the scoreboard when observing (won't change behaviour in other gamemodes, fixes some panels being visible in CTS where they shouldnt be)" This reverts commit 4643c9df1b7f2232384263def0eb5bb6c0050d2f. because it undoes my commit 8c063f818722ca59c769aa742647d729f6a61da3 where forced scoreboard when observing was disabled together with some useless panel. --- diff --git a/qcsrc/client/scoreboard.qc b/qcsrc/client/scoreboard.qc index 7de456043..2369a6047 100644 --- a/qcsrc/client/scoreboard.qc +++ b/qcsrc/client/scoreboard.qc @@ -885,8 +885,6 @@ float HUD_WouldDrawScoreboard() { return 1; else if (spectatee_status != -1 && getstati(STAT_HEALTH) <= 0 && autocvar_cl_deathscoreboard && gametype != GAME_CTS) return 1; - else if (spectatee_status == -1) - return 1; else if (scoreboard_showscores_force) return 1; return 0;