From: LegendaryGuard Date: Wed, 6 Jul 2022 23:54:38 +0000 (+0200) Subject: Remove unnecessary draw function to hide scoreboard X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=aa53b9f97cc589d4689d6c84097ad37a8c67574d;p=xonotic%2Fxonotic-data.pk3dir.git Remove unnecessary draw function to hide scoreboard --- diff --git a/qcsrc/common/mutators/mutator/nades/nades.qh b/qcsrc/common/mutators/mutator/nades/nades.qh index 5a79e85019..b88374a3e6 100644 --- a/qcsrc/common/mutators/mutator/nades/nades.qh +++ b/qcsrc/common/mutators/mutator/nades/nades.qh @@ -220,7 +220,7 @@ void HUD_DarkBlinking() drawfill function parameters (qcsrc/dpdefs/menudefs.qc): float drawfill(vector position, vector size, vector rgb, float alpha, float flag) */ - drawfill('0 0 0', bottomright, '0.23 0 0.23', 0.98, DRAWFLAG_NORMAL); + drawfill('0 0 0', bottomright, '0.23 0 0.23', 0.986, DRAWFLAG_NORMAL); } #elif defined(SVQC) @@ -247,12 +247,6 @@ bool darkblink; REGISTER_MUTATOR(cl_darkblink, true); -// TODO: Shouldn't draw in scoreboard HUD? -/*MUTATOR_HOOKFUNCTION(cl_darkblink, DrawScoreboard) -{ - return darkblink; -}*/ - MUTATOR_HOOKFUNCTION(cl_darkblink, HUD_Draw_overlay) { if(!darkblink)