From: FruitieX Date: Wed, 30 Jun 2010 22:21:12 +0000 (+0300) Subject: woo finally it passes the first call to the macro \o/ X-Git-Tag: xonotic-v0.1.0preview~457^2~48 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ca3e66c120412e086b5c6f81917e1948a14ddbff;p=xonotic%2Fxonotic-data.pk3dir.git woo finally it passes the first call to the macro \o/ --- diff --git a/qcsrc/client/hud.qh b/qcsrc/client/hud.qh index 176aa876c..0a9f2e046 100644 --- a/qcsrc/client/hud.qh +++ b/qcsrc/client/hud.qh @@ -119,7 +119,7 @@ if(panel_bg_color_team_str == "") {\ // comment on line 3 of macro: // do not set a minalpha cap when showing the config dialog for this panel #define HUD_Panel_GetBgAlpha()\ if(panel_bg_alpha_str == "") {\ - panel_bg_alpha_str = autocvar_hud_bg_alpha;\ + panel_bg_alpha_str = ftos(autocvar_hud_bg_alpha);\ }\ panel_bg_alpha = stof(panel_bg_alpha_str);\ if(autocvar__hud_configure && disable_menu_alphacheck == 2 && highlightedPanel == active_panel) {\ @@ -140,7 +140,7 @@ if(panel_bg_border_str == "") {\ } #define HUD_Panel_GetPadding()\ -if(panel_bg_border_padding == "") {\ +if(panel_bg_padding_str == "") {\ panel_bg_padding = autocvar_hud_bg_padding;\ } else {\ panel_bg_padding = stof(panel_bg_padding_str);\