HUD_Panel_DrawBg(id, pos, mySize);
float padding;
- padding = cvar(strcat("hud_", HUD_Panel_GetName(id), "_bg_padding"));
+ padding = HUD_Panel_GetPadding(id);
if(padding)
{
pos += '1 1 0' * padding;
HUD_Panel_DrawBg(id, pos, mySize);
float padding;
- padding = cvar(strcat("hud_", HUD_Panel_GetName(id), "_bg_padding"));
+ padding = HUD_Panel_GetPadding(id);
if(padding)
{
pos += '1 1 0' * padding;
HUD_Panel_DrawBg(id, pos, mySize);
float padding;
- padding = cvar(strcat("hud_", HUD_Panel_GetName(id), "_bg_padding"));
+ padding = HUD_Panel_GetPadding(id);
if(padding)
{
pos += '1 1 0' * padding;
HUD_Panel_DrawBg(id, pos, mySize);
float padding;
- padding = cvar(strcat("hud_", HUD_Panel_GetName(id), "_bg_padding"));
+ padding = HUD_Panel_GetPadding(id);
if(padding)
{
pos += '1 1 0' * padding;
HUD_Panel_DrawBg(id, pos, mySize);
float padding;
- padding = cvar(strcat("hud_", HUD_Panel_GetName(id), "_bg_padding"));
+ padding = HUD_Panel_GetPadding(id);
if(padding)
{
pos += '1 1 0' * padding;
HUD_Panel_DrawBg(id, pos, mySize);
float padding;
- padding = cvar(strcat("hud_", HUD_Panel_GetName(id), "_bg_padding"));
+ padding = HUD_Panel_GetPadding(id);
if(padding)
{
pos += '1 1 0' * padding;
HUD_Panel_DrawBg(id, pos, mySize);
float padding;
- padding = cvar(strcat("hud_", HUD_Panel_GetName(id), "_bg_padding"));
+ padding = HUD_Panel_GetPadding(id);
if(padding)
{
pos += '1 1 0' * padding;
HUD_Panel_DrawBg(id, pos, mySize);
float padding;
- padding = cvar(strcat("hud_", HUD_Panel_GetName(id), "_bg_padding"));
+ padding = HUD_Panel_GetPadding(id);
if(padding)
{
pos += '1 1 0' * padding;
HUD_Panel_DrawBg(id, pos, mySize);
float padding;
- padding = cvar(strcat("hud_", HUD_Panel_GetName(id), "_bg_padding"));
+ padding = HUD_Panel_GetPadding(id);
if(padding)
{
pos += '1 1 0' * padding;
HUD_Panel_DrawBg(id, pos, mySize);
float padding;
- padding = cvar(strcat("hud_", HUD_Panel_GetName(id), "_bg_padding"));
+ padding = HUD_Panel_GetPadding(id);
if(padding)
{
pos += '1 1 0' * padding;
HUD_Panel_DrawBg(id, pos, mySize);
float padding;
- padding = cvar(strcat("hud_", HUD_Panel_GetName(id), "_bg_padding"));
+ padding = HUD_Panel_GetPadding(id);
if(padding)
{
pos += '1 1 0' * padding;
HUD_Panel_DrawBg(id, pos, mySize);
float padding;
- padding = cvar(strcat("hud_", HUD_Panel_GetName(id), "_bg_padding"));
+ padding = HUD_Panel_GetPadding(id);
if(padding)
{
pos += '1 1 0' * padding;