X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fscoreboard.qc;h=935a0277a85abdf98ce2f4d24bbbeb002eedf76e;hb=20194b24b0b3a019e53ce08ed100b78f79f5652b;hp=05c8df88cfc68f767c1eb268bab64044dc9ef4fa;hpb=b40fec44bad9207fb7c4bb6aa7fd22dadf3e03cc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/scoreboard.qc b/qcsrc/client/scoreboard.qc index 05c8df88c..935a0277a 100644 --- a/qcsrc/client/scoreboard.qc +++ b/qcsrc/client/scoreboard.qc @@ -321,7 +321,7 @@ void Cmd_HUD_SetFields(float argc) else if(argv(2) == "all") { string s; - s = "ping pl color name |"; + s = "ping pl name |"; for(i = 0; i < MAX_SCORE; ++i) { if(i != ps_primary) @@ -985,14 +985,14 @@ vector HUD_DrawScoreboardAccuracyStats(vector pos, vector rgb, vector bg_size) if (!acc_levels) rgb = '1 1 1'; - else if (acc_col_x[0] == -1) + else if (acc_col[0] == '-1 0 0') for (i = 0; i < acc_levels; ++i) acc_col[i] = stov(cvar_string(strcat("accuracy_color", ftos(i)))); for(i = WEP_FIRST; i <= WEP_LAST; ++i) { self = get_weaponinfo(i); - if not(self.weapons) + if not(self.weapon) continue; if ((i == WEP_NEX && g_minstagib) || i == WEP_PORTO || (i == WEP_MINSTANEX && !g_minstagib) || i == WEP_TUBA) // skip port-o-launch, nex || minstanex and tuba continue;