X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fhud.qh;h=1fe76b091cc2239684a1a420d1e5ee95108b8a8e;hb=04ab0ff7c3c5fcfe9780eadccfd5abd03d25b181;hp=5a7e603351c4cfb292de7697d0c65c4b84d3fdff;hpb=78d695069baa29c19a0142d27d0a3e94e79eaed9;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/hud.qh b/qcsrc/client/hud.qh index 5a7e60335..1fe76b091 100644 --- a/qcsrc/client/hud.qh +++ b/qcsrc/client/hud.qh @@ -132,7 +132,7 @@ float current_player; hud_panelent.panel_draw = ##draw_func; \ ++HUD_PANEL_NUM; \ } \ - ACCUMULATE_FUNCTION(RegisterHUD_Panels, RegisterHUD_Panel_##NAME) + ACCUMULATE_FUNCTION(RegisterHUD_Panels, RegisterHUD_Panel_##NAME); HUD_PANELS #undef HUD_PANEL @@ -344,7 +344,7 @@ if(panel.update_time <= time) { \ strunzone(panel.current_panel_bg); \ if(panel_bg == "")\ {\ - print(sprintf("^xf08 %s panel: panel_bg is empty\n", panel.panel_name));\ + /*print(sprintf("^xf08 %s panel: panel_bg is empty\n", panel.panel_name));*/\ panel_bg = "0";\ }\ panel.current_panel_bg = strzone(panel_bg); \ @@ -361,7 +361,7 @@ if(panel.update_time <= time) { \ panel_bg = panel.current_panel_bg; \ if(panel.current_panel_bg == "")\ {\ - print(sprintf("^xf08 %s panel: panel.current_panel_bg is empty\n", panel.panel_name));\ + /*print(sprintf("^xf08 %s panel: panel.current_panel_bg is empty\n", panel.panel_name));*/\ panel_bg = "0";\ }\ panel_bg_alpha = panel.current_panel_bg_alpha; \