]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix a weird bug
authorFruitieX <rasse@rasse-lappy.localdomain>
Wed, 4 Aug 2010 12:20:33 +0000 (15:20 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Wed, 4 Aug 2010 12:20:33 +0000 (15:20 +0300)
qcsrc/client/hud.qc

index bb46900b61682cfe47d31e468ee6b90fd7087821..924627d0c9cfeedbfdef07f64d2bc998d6adfcc9 100644 (file)
@@ -2851,7 +2851,7 @@ void HUD_Notify (void)
        float width_attacker;
        string attacker, victim;
 
-       float i, j;
+       float i, j, w;
        for(j = 0; j < entries; ++j)
        {
                s = "";
@@ -2875,7 +2875,7 @@ void HUD_Notify (void)
                                a = 0;
                }
 
-               float w;
+               w = -1;
                w = DEATH_WEAPONOF(killnotify_deathtype[j]);
 
                // TODO: maybe print in team colors?