From ca3e66c120412e086b5c6f81917e1948a14ddbff Mon Sep 17 00:00:00 2001 From: FruitieX Date: Thu, 1 Jul 2010 01:21:12 +0300 Subject: [PATCH] woo finally it passes the first call to the macro \o/ --- qcsrc/client/hud.qh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);\ -- 2.39.2