From: terencehill Date: Tue, 19 Jan 2016 18:59:57 +0000 (+0100) Subject: Escape argument of cl_damagetext_format (it displayed a warning when changing it) X-Git-Tag: xonotic-v0.8.2~1216^2~2 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=329056086018f809df4c4513a52c584577b1e453;hp=664d85aae28823917c6194efa270d6fc5b4fc805 Escape argument of cl_damagetext_format (it displayed a warning when changing it) --- diff --git a/qcsrc/common/mutators/mutator/damagetext/damagetext.qc b/qcsrc/common/mutators/mutator/damagetext/damagetext.qc index 5fb4b1bf4c..bf4c05239c 100644 --- a/qcsrc/common/mutators/mutator/damagetext/damagetext.qc +++ b/qcsrc/common/mutators/mutator/damagetext/damagetext.qc @@ -12,7 +12,7 @@ REGISTER_MUTATOR(damagetext, true); #if defined(CSQC) || defined(MENUQC) AUTOCVAR_SAVE(cl_damagetext, bool, false, _("Draw damage dealt. 0: disabled, 1: enabled")); -AUTOCVAR_SAVE(cl_damagetext_format, string, "-%3$d", _("How to format the damage text. 1$ is health, 2$ is armor, 3$ is both")); +AUTOCVAR_SAVE(cl_damagetext_format, string, "-%3$$d", _("How to format the damage text. 1$ is health, 2$ is armor, 3$ is both")); AUTOCVAR_SAVE(cl_damagetext_color, vector, '1 1 0', _("Default damage text color")); AUTOCVAR_SAVE(cl_damagetext_color_per_weapon, bool, false, _("Damage text uses weapon color")); AUTOCVAR_SAVE(cl_damagetext_size, float, 8, _("Damage text font size"));