From: terencehill Date: Tue, 23 Jun 2020 10:44:12 +0000 (+0200) Subject: Resolve a long-standing TODO hat had already been resolved at the time of addition X-Git-Tag: xonotic-v0.8.5~905 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a0e3235f32d9dc039022b6b4d9e5b08c5e0d4e59;p=xonotic%2Fxonotic-data.pk3dir.git Resolve a long-standing TODO hat had already been resolved at the time of addition --- diff --git a/qcsrc/menu/xonotic/colorbutton.qc b/qcsrc/menu/xonotic/colorbutton.qc index 6675c1aee..f9db47f99 100644 --- a/qcsrc/menu/xonotic/colorbutton.qc +++ b/qcsrc/menu/xonotic/colorbutton.qc @@ -69,7 +69,6 @@ void XonoticColorButton_saveCvars(entity me) else cvar_set(me.cvarName, ftos((cvar(me.cvarName) & 240) + me.cvarValueFloat)); } - // TODO on an apply button, read _cl_color and execute the color command for it } void XonoticColorButton_draw(entity me) { diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc b/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc index 4405d98de..e6d9e3492 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc @@ -36,7 +36,7 @@ void XonoticProfileTab_fill(entity me) entity e, pms, label, box; float i; entity profileApplyButton = makeXonoticCommandButton(_("Apply immediately"), '0 0 0', - "color -1 -1;" + "color -1 -1;" // apply colors contained in _cl_color "name \"$_cl_name\";" "playermodel $_cl_playermodel;" "playerskin $_cl_playerskin;"