From: FruitieX Date: Thu, 24 Jun 2010 19:15:34 +0000 (+0300) Subject: also disable dock if hud_dock is set to "0" X-Git-Tag: xonotic-v0.1.0preview~457^2~81 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a037617f4e60370d57825c439f96d9b547652b02;p=xonotic%2Fxonotic-data.pk3dir.git also disable dock if hud_dock is set to "0" --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index ccf52e987..3baba2b42 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4387,7 +4387,7 @@ void HUD_Main (void) } } - if(cvar_string("hud_dock") != "") + if(cvar_string("hud_dock") != "" && cvar_string("hud_dock") != "0") drawpic('0 0 0', strcat("gfx/hud/", cvar_string("hud_skin"), "/", cvar_string("hud_dock")), eX * vid_conwidth + eY * vid_conheight, HUD_Panel_Dock_GetColor(), cvar("hud_dock_alpha") * menu_fade_alpha, DRAWFLAG_NORMAL); // no aspect ratio forcing on dock... if(HUD_Panel_CheckActive(HUD_PANEL_RADAR) || hud_configure)