From: terencehill Date: Tue, 5 Feb 2013 08:17:10 +0000 (+0100) Subject: Get rid of a console warning joining a team game if there's a team mate already playi... X-Git-Tag: xonotic-v0.7.0~98^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bb29630965bcc25011715e4cbb8152d3ec076ae1;p=xonotic%2Fxonotic-data.pk3dir.git Get rid of a console warning joining a team game if there's a team mate already playing (hud_shownames code calls HUD_Panel_DrawProgressBar before hud_skin_path initialization) --- diff --git a/qcsrc/client/Main.qc b/qcsrc/client/Main.qc index 3e5deb104..6126d3d62 100644 --- a/qcsrc/client/Main.qc +++ b/qcsrc/client/Main.qc @@ -207,6 +207,7 @@ void CSQC_Init(void) WarpZone_Init(); + hud_skin_path = strzone(strcat("gfx/hud/", autocvar_hud_skin)); hud_configure_prev = -1; tab_panel = -1;