X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_hudpanel_physics.c;h=0144d6649bb5c0c4ecc831440a76a999bc2eea39;hb=def24368510d38164b0f6756a1cd5e3bb82f67a8;hp=66c872b9f9589689b9030fb820d2c5a17a2fbc06;hpb=277a2eeaa5b955419d958e347c11ad12480a67cc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_physics.c b/qcsrc/menu/xonotic/dialog_hudpanel_physics.c index 66c872b9f..0144d6649 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_physics.c +++ b/qcsrc/menu/xonotic/dialog_hudpanel_physics.c @@ -8,6 +8,7 @@ CLASS(XonoticHUDPhysicsDialog) EXTENDS(XonoticRootDialog) ATTRIB(XonoticHUDPhysicsDialog, columns, float, 4) ATTRIB(XonoticHUDPhysicsDialog, name, string, "HUDphysics") ATTRIB(XonoticHUDPhysicsDialog, sliderTopspeedTime, entity, NULL) + ATTRIB(XonoticHUDPhysicsDialog, requiresConnection, float, TRUE) ENDCLASS(XonoticHUDPhysicsDialog) #endif @@ -16,13 +17,13 @@ void XonoticHUDPhysicsDialog_fill(entity me) { entity e; string panelname = "physics"; - float i; me.TR(me); me.TD(me, 1, 4, e = makeXonoticTextSlider("hud_panel_physics")); e.addValue(e, _("Panel disabled"), "0"); - e.addValue(e, _("Panel enabled if not observing"), "1"); - e.addValue(e, _("Panel always enabled"), "2"); + e.addValue(e, _("Panel enabled"), "1"); + e.addValue(e, _("Panel enabled even observing"), "2"); + e.addValue(e, _("Panel enabled only in Race/CTS"), "3"); e.configureXonoticTextSliderValues(e); DIALOG_HUDPANEL_COMMON_NOTOGGLE();