From: FruitieX Date: Wed, 4 Aug 2010 12:20:33 +0000 (+0300) Subject: fix a weird bug X-Git-Tag: xonotic-v0.1.0preview~371 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e4c58df752eff4b5b38fd3ba7d8f25a630d6e68d;p=xonotic%2Fxonotic-data.pk3dir.git fix a weird bug --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index bb46900b6..924627d0c 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -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?