fix the "pink accuracy" print for good
authorFruitieX <rasse@rasse-lappy.localdomain>
Sat, 10 Jul 2010 20:46:46 +0000 (23:46 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Sat, 10 Jul 2010 20:46:46 +0000 (23:46 +0300)
qcsrc/client/scoreboard.qc

index b0cb8712d1172c40722d9f7baba32e2cbac72a68..0e5ee12939b8d5a53527b720ae2663788eba706f 100644 (file)
@@ -980,6 +980,7 @@ vector HUD_DrawScoreboardAccuracyStats(vector pos, vector rgb, vector bg_size)
                                rgb_x = 1;
                                rgb_y = weapon_stats/autocvar_hud_weaponicons_accuracy_yellow; // green value between 0 -> 1
                        }
+                       rgb_z = 0;
                        drawstring(pos + '1 0 0' * padding + '0 1 0' * height * (2/3), s, '1 1 0' * fontsize, rgb, scoreboard_alpha_fg, DRAWFLAG_NORMAL);
                }
                pos_x += sbwidth/weapon_cnt * rows;