X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud%2Fpanel%2Fnotify.qc;h=2f1b254b23fe9712df41297104e02fd69fdecb28;hb=69265650c1b6f1193cf02c99baccb28c0db913ed;hp=ae4b92211d8bbb0fb621e43861aceda193bb5d6f;hpb=e1eda37c6ce797c5580abd5e9049dc84c0d42e06;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/hud/panel/notify.qc b/qcsrc/client/hud/panel/notify.qc index ae4b92211..2f1b254b2 100644 --- a/qcsrc/client/hud/panel/notify.qc +++ b/qcsrc/client/hud/panel/notify.qc @@ -58,9 +58,8 @@ void HUD_Notify_Push(string icon, string attacker, string victim) void HUD_Notify() { - if (!autocvar__hud_configure) - if (!autocvar_hud_panel_notify) - return; + if (!autocvar__hud_configure && !autocvar_hud_panel_notify) + return; HUD_Panel_LoadCvars(); @@ -87,9 +86,8 @@ void HUD_Notify() HUD_Scale_Disable(); HUD_Panel_DrawBg(); - if (!autocvar__hud_configure) - if (notify_count == 0) - return; + if (!autocvar__hud_configure && notify_count == 0) + return; vector pos, size; pos = panel_pos;