From: Freddy Date: Wed, 13 Jul 2016 23:40:36 +0000 (+0200) Subject: Extend docstring for cl_damagetext_format X-Git-Tag: xonotic-v0.8.2~455^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=46be28eabfd0a6d2df68ef102e827a33f4f5e393;p=xonotic%2Fxonotic-data.pk3dir.git Extend docstring for cl_damagetext_format --- diff --git a/qcsrc/common/mutators/mutator/damagetext/damagetext.qc b/qcsrc/common/mutators/mutator/damagetext/damagetext.qc index 1ac69a47e..6caef4638 100644 --- a/qcsrc/common/mutators/mutator/damagetext/damagetext.qc +++ b/qcsrc/common/mutators/mutator/damagetext/damagetext.qc @@ -8,7 +8,7 @@ REGISTER_MUTATOR(damagetext, true); #if defined(CSQC) || defined(MENUQC) // no translatable cvar description please AUTOCVAR_SAVE(cl_damagetext, bool, true, "Draw damage dealt where you hit the enemy"); -AUTOCVAR_SAVE(cl_damagetext_format, string, "-{total}", "How to format the damage text. {health}, {armor}, {total}"); +AUTOCVAR_SAVE(cl_damagetext_format, string, "-{total}", "How to format the damage text. {health}, {armor}, {total}, {potential}"); STATIC_INIT(DamageText_LegacyFormat) { if (strstrofs(autocvar_cl_damagetext_format, "{", 0) < 0) autocvar_cl_damagetext_format = "-{total}"; }