From 5b4821ab2e4c45cf80df4f42f38820ec360d538f Mon Sep 17 00:00:00 2001 From: FruitieX Date: Wed, 13 Apr 2011 16:22:48 +0300 Subject: [PATCH] small fix --- qcsrc/client/shownames.qc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.2