From: FruitieX Date: Wed, 13 Apr 2011 13:22:48 +0000 (+0300) Subject: small fix X-Git-Tag: xonotic-v0.5.0~281 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5b4821ab2e4c45cf80df4f42f38820ec360d538f;p=xonotic%2Fxonotic-data.pk3dir.git small fix --- diff --git a/qcsrc/client/shownames.qc b/qcsrc/client/shownames.qc index b1e971f35..61ae8452c 100644 --- a/qcsrc/client/shownames.qc +++ b/qcsrc/client/shownames.qc @@ -39,7 +39,9 @@ void Draw_ShowNames() // otherwise, increase alpha until 1 float a; - a = autocvar_hud_panel_fg_alpha * self.alpha; + a = autocvar_hud_panel_fg_alpha; + if(self.alpha) + a *= self.alpha; // draw the sprite image vector o;