From: Martin Taibr Date: Fri, 8 Mar 2019 20:18:17 +0000 (+0100) Subject: restore friendly fire checkbox X-Git-Tag: xonotic-v0.8.5~1475^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=91df8ac00f033a877cce2ff467de5b6b7cec7dc0;p=xonotic%2Fxonotic-data.pk3dir.git restore friendly fire checkbox --- diff --git a/qcsrc/common/mutators/mutator/damagetext/ui_damagetext.qc b/qcsrc/common/mutators/mutator/damagetext/ui_damagetext.qc index e85228e33..1a00d1546 100644 --- a/qcsrc/common/mutators/mutator/damagetext/ui_damagetext.qc +++ b/qcsrc/common/mutators/mutator/damagetext/ui_damagetext.qc @@ -32,5 +32,8 @@ CLASS(XonoticDamageTextSettings, XonoticTab) this.TD(this, 2, 2, e = makeXonoticColorpickerString("cl_damagetext_color", "cl_damagetext_color")); setDependent(e, "cl_damagetext", 1, 1); this.TR(this); + this.TR(this); + this.TD(this, 1, 3, e = makeXonoticCheckBox(0, "cl_damagetext_friendlyfire", _("Draw damage numbers for friendly fire"))); + setDependent(e, "cl_damagetext", 1, 1); } ENDCLASS(XonoticDamageTextSettings)