From aa53b9f97cc589d4689d6c84097ad37a8c67574d Mon Sep 17 00:00:00 2001 From: LegendaryGuard Date: Thu, 7 Jul 2022 01:54:38 +0200 Subject: [PATCH] Remove unnecessary draw function to hide scoreboard --- qcsrc/common/mutators/mutator/nades/nades.qh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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) -- 2.39.2