]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix cl_damagetext_alpha_start
authorMartin Taibr <taibr.martin@gmail.com>
Fri, 16 Sep 2016 18:06:57 +0000 (20:06 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Fri, 16 Sep 2016 18:06:57 +0000 (20:06 +0200)
qcsrc/common/mutators/mutator/damagetext/damagetext.qc

index b3f636a1f2ae41ce6ab900613f40b19ae265d3b9..6e5afab7ea75c38c71e65eb1d2e6e9cecd10bfe6 100644 (file)
@@ -74,7 +74,7 @@ CLASS(DamageText, Object)
         this.m_armordamage = _armor;
         this.m_deathtype = _deathtype;
         setorigin(this, _origin);
-        this.alpha = 1;
+        this.alpha = autocvar_cl_damagetext_alpha_start;
     }
 
     CONSTRUCTOR(DamageText, int _group, vector _origin, int _health, int _armor, int _deathtype, bool _friendlyfire) {