From c666676ffb48e39a77fa04a5ce96c31ddad67401 Mon Sep 17 00:00:00 2001 From: Sahil Singhal Date: Fri, 11 Jun 2010 17:08:24 -0400 Subject: [PATCH] Revert "Minor change." This reverts commit 2ba13dbd1b2424359c98da991714f9cacec94a8c. --- qcsrc/menu/xonotic/dialog_hudpanel_options.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_options.c b/qcsrc/menu/xonotic/dialog_hudpanel_options.c index 8f5346557..77655230c 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_options.c +++ b/qcsrc/menu/xonotic/dialog_hudpanel_options.c @@ -1,7 +1,7 @@ #ifdef INTERFACE CLASS(XonoticHUDOptionsDialog) EXTENDS(XonoticRootDialog) METHOD(XonoticHUDOptionsDialog, fill, void(entity)) - ATTRIB(XonoticHUDOptionsDialog, title, string, "Panel Options") + ATTRIB(XonoticHUDOptionsDialog, title, string, "HUD Setup") ATTRIB(XonoticHUDOptionsDialog, color, vector, SKINCOLOR_DIALOG_TEAMSELECT) ATTRIB(XonoticHUDOptionsDialog, intendedWidth, float, 0.4) ATTRIB(XonoticHUDOptionsDialog, rows, float, 15) @@ -15,17 +15,7 @@ ENDCLASS(XonoticHUDOptionsDialog) void fillXonoticHUDOptionsDialog(entity me) { entity e; - float panelID; me.TR(me); - panelID = cvar("_hud_panel_id"); - if(panelID >= 0) - { - me.TR(me); - me.TDempty(me, 0.2); - me.TD(me, 1, 1.2, e = makeNexuizTextLabel(0, "Alpha:")); - me.TD(me, 1, 2.6, e = makeNexuizSlider(0, 1, 0.01, "hud_", HUD_Panel_GetName(panelID), "_bg_alpha")); - } - } #endif -- 2.39.2