From 329056086018f809df4c4513a52c584577b1e453 Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 19 Jan 2016 19:59:57 +0100 Subject: [PATCH] Escape argument of cl_damagetext_format (it displayed a warning when changing it) --- qcsrc/common/mutators/mutator/damagetext/damagetext.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); -- 2.39.2