X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_hudpanel_physics.c;h=0144d6649bb5c0c4ecc831440a76a999bc2eea39;hb=def24368510d38164b0f6756a1cd5e3bb82f67a8;hp=f8b162f2396e398f2ce0f2b82a0d48f7eaabf990;hpb=74f87fc1a53f84b248b57660c105da0d84e2ca41;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 f8b162f23..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 @@ -20,8 +21,9 @@ void XonoticHUDPhysicsDialog_fill(entity me) 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();