]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix uninitialized var
authorSamual Lenks <samual@xonotic.org>
Mon, 25 Feb 2013 17:35:13 +0000 (12:35 -0500)
committerSamual Lenks <samual@xonotic.org>
Mon, 25 Feb 2013 17:35:13 +0000 (12:35 -0500)
qcsrc/server/g_damage.qc

index 1340137723fa7c1b75781d2565db5744ce934664..e779ff45357bce54c3907b5aced103c70b308738 100644 (file)
@@ -527,7 +527,7 @@ void Damage (entity targ, entity inflictor, entity attacker, float damage, float
 {
        float mirrordamage;
        float mirrorforce;
-       float complainteamdamage;
+       float complainteamdamage = 0; 
        entity attacker_save;
        mirrordamage = 0;
        mirrorforce = 0;